1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 07:32:27 +01:00

Hide the statusbar in fullscreen mode, but let it remain un-hideable.

This commit is contained in:
Kris Maglione
2013-04-26 19:18:55 -07:00
parent f166f50780
commit d021e48d3e

View File

@@ -160,6 +160,16 @@ var StatusLine = Module("statusline", {
this.timeout(function () {
this.status = message || buffer.uri;
});
},
"fullscreen": function onFullscreen(fullscreen) {
let go = options.get("guioptions");
if (fullscreen) {
this.wasVisible = go.has("s");
go.op("-", "s");
}
else if (this.wasVisible) {
go.op("+", "s");
}
}
},