mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 15:44:11 +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.timeout(function () {
|
||||||
this.status = message || buffer.uri;
|
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