mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
bug fix
This commit is contained in:
parent
dfea680311
commit
2f926fcf57
@ -128,9 +128,9 @@
|
||||
let switchQuickCommandResult = (stdout, stderr, outputOpts) => {
|
||||
var output = outputOpts.type, autoScroll = outputOpts.autoScroll, autoHeight = outputOpts.autoHeight;
|
||||
var outputAutoFix = (autoScroll, autoHeight) => {
|
||||
var outputHeight = $("#out").height() + 26
|
||||
var outputHeight = $("#out").height() + 20
|
||||
if (outputHeight > 600) outputHeight = 600
|
||||
if (autoHeight) utools.setExpendHeight(outputHeight);
|
||||
if (autoHeight && $('#options').is(':hidden')) utools.setExpendHeight(outputHeight);
|
||||
if (outputHeight == 600 && autoScroll) $(document).scrollTop($(document).height());
|
||||
}
|
||||
if (stderr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user