aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins/store.ts
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2022-12-22 23:14:42 +0100
committerGitHub <noreply@github.com>2022-12-22 23:14:42 +0100
commit77f043752d2937d91726e3e9aca7151c44c72d3b (patch)
tree18663261d608122703336bd92699a49f8dba35d2 /src-vue/src/plugins/store.ts
parent5b4c70830f5b66f0d8f2ef62ceb77b2888c08b29 (diff)
downloadFlightCore-77f043752d2937d91726e3e9aca7151c44c72d3b.tar.gz
FlightCore-77f043752d2937d91726e3e9aca7151c44c72d3b.zip
feat: Maximize button + clean menubar layout (#119)
* feat: add a button to toggle window maximize status * fix: attach services container to bottom Container was fixed, but with no positioning indication, which fucked its location while going fullscreen. * refactor: encase menu in navigation container * fix: remove CSS ID duplication * refactor: put window controls inside menu bar * feat: add style to additional submenu * fix: don't color focused menu items * fix: restore menu bar debug indicator
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r--src-vue/src/plugins/store.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index 3776a6c5..c22479e0 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -293,7 +293,8 @@ async function _initializeApp(state: any) {
state.developer_mode = true;
// Make menubar striped if debug build
- let menu_bar_handle = document.querySelector('#fc__menu_bar');
+ let menu_bar_handle = document.querySelector('#fc_menu-bar');
+ console.log(menu_bar_handle);
if (menu_bar_handle !== null) {
menu_bar_handle.classList.toggle('developer_build');
}