From f3d6530ff4e8bf0a0b6c2ba47c0ab4dbd75b603d Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 9 Jul 2020 12:31:59 -0500 Subject: [PATCH] Avoid flashes of bad bg on pane resize --- app/fg/shell-window/panes.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/fg/shell-window/panes.js b/app/fg/shell-window/panes.js index 988003cd31..53292bd2dc 100644 --- a/app/fg/shell-window/panes.js +++ b/app/fg/shell-window/panes.js @@ -100,6 +100,7 @@ class ShellWindowPanes extends LitElement { e.preventDefault() e.stopPropagation() this.isResizing = true + this.requestUpdate() bg.views.setPaneResizeModeEnabled(true, pane.id, edge) } @@ -107,6 +108,7 @@ class ShellWindowPanes extends LitElement { if (this.isResizing && !e.buttons) { bg.views.setPaneResizeModeEnabled(false) this.isResizing = false + this.requestUpdate() } } @@ -114,6 +116,7 @@ class ShellWindowPanes extends LitElement { if (this.isResizing) { bg.views.setPaneResizeModeEnabled(false) this.isResizing = false + this.requestUpdate() } } }