From 6ea5857de20f0d4b65e321b422636705d3dd6264 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Fri, 2 Feb 2018 14:10:12 +0100 Subject: [PATCH] minor fix --- src/packages/wTerm/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/wTerm/main.coffee b/src/packages/wTerm/main.coffee index 5e32fc3..d57ea7d 100644 --- a/src/packages/wTerm/main.coffee +++ b/src/packages/wTerm/main.coffee @@ -34,7 +34,7 @@ class wTerm extends this.OS.GUI.BaseApplication # make desktop menu if not exist @systemsetting.desktop.menu[@name] = { text: "Open terminal", app: "wTerm" } unless @systemsetting.desktop.menu[@name] @openSession() - @on "vboxchange", (e) -> me.resizeContent e.w, e.h + @on "hboxchange", (e) -> me.resizeContent e.w, e.h resizeContent: (w, h) -> ex = @term.rowContainer.firstElementChild