Skip to content

Commit

Permalink
Specify a progress bar height of 200. For Ravel #529.
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed May 21, 2024
1 parent 390cd31 commit a832b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui-js/apps/minsky-electron/src/app/backend-init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ restService.setBusyCursorCallback(function (busy: boolean) {
WindowManager.getMainWindow()?.webContents?.send(events.CURSOR_BUSY, busy);
if (!initProgressBar && busy)
initProgressBar=setTimeout(()=>{
progress.browserWindow={parent: WindowManager.getMainWindow()};
progress.browserWindow={parent: WindowManager.getMainWindow(), height: 200};
progressBar=new ProgressBar(progress);
progressBar.on('ready',()=>{progressBar._window.webContents.executeJavaScript(injectCancelButton);});
progressBar.value=progress.value;
Expand Down

0 comments on commit a832b2c

Please sign in to comment.