Skip to content

Commit

Permalink
fixed initial state of showing toolbar/sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHalwax committed Jun 5, 2024
1 parent 3ce0c7c commit 201ce67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/menu/view-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export default options => {
const preferences = options.preferences || {}
const coordinatesFormat = preferences['coordinates-format'] || 'MGRS'
const graticule = preferences.graticule
const sidebarShowing = preferences['ui.sidebar.showing']
const toolbarShowing = preferences['ui.toolbar.showing']
const sidebarShowing = preferences['ui.sidebar.showing'] ?? true
const toolbarShowing = preferences['ui.toolbar.showing'] ?? true

return [{
label: 'View',
Expand Down

0 comments on commit 201ce67

Please sign in to comment.