mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Merge pull request #522 from kzidane/console
fixed console resizing bug
This commit is contained in:
commit
c4d1c59dc8
@ -147,7 +147,7 @@ define(function(require, module, exports) {
|
||||
// Track splitter and update state
|
||||
var splitter = consoleRow.$handle;
|
||||
splitter && splitter.on("dragdrop", function(e) {
|
||||
height = Math.max(minHeight, container.height);
|
||||
height = Math.max(minHeight, container.$ext.offsetHeight);
|
||||
if (height)
|
||||
settings.set("state/console/@height", height);
|
||||
emit("resize");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user