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:
@@ -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");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user