enhance: introduce exit full-screen button

This commit is contained in:
Konstantinos Kaloutas
2023-05-26 13:25:41 +03:00
parent 2bca12c9a9
commit 6756395763
8 changed files with 49 additions and 23 deletions

View File

@@ -731,9 +731,8 @@
indexeddb-support? (state/sub :indexeddb/support?)
page? (= :page route-name)
home? (= :home route-name)
fullscreen? (state/sub :electron/window-fullscreen?)
native-titlebar? (state/sub [:electron/user-cfgs :window/native-titlebar?])
window-controls? (and (util/electron?) (not util/mac?) (not fullscreen?) (not native-titlebar?))
window-controls? (and (util/electron?) (not util/mac?) (not native-titlebar?))
edit? (:editor/editing? @state/state)
default-home (get-default-home-if-valid)
logged? (user-handler/logged-in?)