Commit 27817108 authored by Tristan A Spakes's avatar Tristan A Spakes

Testing to fix window resizing issue

parent d5899d10
Pipeline #23023 passed with stages
in 1 minute and 5 seconds
......@@ -284,11 +284,14 @@ function addWin(file, title, width, height) {
resizable: false,
alwaysOnTop: true
})
addWindow.loadFile(file)
} else {
addWindow.setSize(width, height)
addWindow.loadFile(file)
}
addWindow.loadFile(file)
//addWindow.loadFile(file)
//Load appears smoother by delaying load until all elements are present
addWindow.once('ready-to-show', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment