diff --git a/app/electron/main/windows.js b/app/electron/main/windows.js index 5d48dcd5f2..aa831020b1 100644 --- a/app/electron/main/windows.js +++ b/app/electron/main/windows.js @@ -68,6 +68,7 @@ export function setupMainWindow() { mainWindow[pathLoadMethod](mainPath); mainWindow.webContents.on('did-finish-load', () => { + rebuildMenus(mainWindow); splashWindow.destroy(); mainWindow.show(); mainWindow.focus(); @@ -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 diff --git a/docs/session-inspector/gestures.md b/docs/session-inspector/gestures.md index d61d272ec4..9471b41032 100644 --- a/docs/session-inspector/gestures.md +++ b/docs/session-inspector/gestures.md @@ -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