From 1071be49edfda1d35c537d09308d1f0e2f28bbef Mon Sep 17 00:00:00 2001 From: oniatsu Date: Thu, 11 Dec 2014 00:06:52 +0900 Subject: Add a global variable to hide panel --- stella.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stella.js b/stella.js index 2ddf58f..599ebc7 100644 --- a/stella.js +++ b/stella.js @@ -2149,6 +2149,8 @@ Thanks: }, enable: function () { + if (liberator.globalVariables.stella_hidden_panel === true) + return; if (this.noGUI) return; this.hidden = false; -- cgit v1.2.3 From c28682c82e1590565c6d91a9d4eed94e0bcddd4f Mon Sep 17 00:00:00 2001 From: anekos Date: Sun, 14 Dec 2014 16:34:42 +0900 Subject: Fix style --- stella.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stella.js b/stella.js index 599ebc7..d0b6d34 100644 --- a/stella.js +++ b/stella.js @@ -2149,7 +2149,7 @@ Thanks: }, enable: function () { - if (liberator.globalVariables.stella_hidden_panel === true) + if (liberator.globalVariables.stella_hidden_panel) return; if (this.noGUI) return; -- cgit v1.2.3