Skip to content

Commit

Permalink
fix: resolve issue with incorrect app menu bar (#1630)
Browse files Browse the repository at this point in the history
* fix: resolve issue with incorrect app menu bar

* chore: run prettier
  • Loading branch information
eglitise authored Aug 26, 2024
1 parent 0e4c21a commit 3b4870b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions app/electron/main/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export function setupMainWindow() {
mainWindow[pathLoadMethod](mainPath);

mainWindow.webContents.on('did-finish-load', () => {
rebuildMenus(mainWindow);
splashWindow.destroy();
mainWindow.show();
mainWindow.focus();
Expand All @@ -94,11 +95,6 @@ export function setupMainWindow() {
]).popup(mainWindow);
});

i18n.on('initialized', () => {
rebuildMenus(mainWindow);
i18n.off('initialized');
});

i18n.on('languageChanged', async (languageCode) => {
// this event gets called before the i18n initialization event,
// so add a guard condition
Expand Down
4 changes: 2 additions & 2 deletions docs/session-inspector/gestures.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ The default saved gestures list is empty, but can be populated by either manuall
new gestures, or importing gesture files in JSON format.

- New gestures can be created by pressing the `+` button in the bottom left, which will open the
[Gesture Builder](#gesture-builder) screen.
[Gesture Builder](#gesture-builder) screen.
- Gesture files in JSON format can be uploaded on clicking the `upload icon`. This opens a file
browser window, allowing multiple gestures to be uploaded simultaneously.
browser window, allowing multiple gestures to be uploaded simultaneously.

Once a gesture has been created and saved, hovering over its entry in the saved gestures list will
show its actions as an overlay over the [screenshot](./screenshot.md). There are also 4
Expand Down

0 comments on commit 3b4870b

Please sign in to comment.