mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
buggy innerBounds and aero got fixed in 38M
This commit is contained in:
parent
c34938b9d6
commit
c1ba99298e
1 changed files with 2 additions and 11 deletions
13
eventPage.js
13
eventPage.js
|
@ -1,14 +1,5 @@
|
||||||
/*
|
/*
|
||||||
If an id is also specified and a window with a matching id has been shown before, the remembered bounds of the window will be used instead.
|
If an id is also specified and a window with a matching id has been shown before, the remembered bounds of the window will be used instead.
|
||||||
|
|
||||||
Size calculation for innerBounds seems to be faulty, app was designed for 960x625
|
|
||||||
|
|
||||||
Bug was confirmed on Windows 7
|
|
||||||
OSX seems to be unaffected
|
|
||||||
Linux and cros is unknown
|
|
||||||
|
|
||||||
I am using arbitrary dimensions which fixes the Windows 7 problem, hopefully it will get resolved in future release so other OSs won't have to
|
|
||||||
use bigger dimensions by default.
|
|
||||||
*/
|
*/
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
@ -19,8 +10,8 @@ function startApplication() {
|
||||||
id: 'main-window',
|
id: 'main-window',
|
||||||
frame: 'chrome',
|
frame: 'chrome',
|
||||||
innerBounds: {
|
innerBounds: {
|
||||||
minWidth: 974,
|
minWidth: 960,
|
||||||
minHeight: 632
|
minHeight: 625
|
||||||
}
|
}
|
||||||
}, function (createdWindow) {
|
}, function (createdWindow) {
|
||||||
createdWindow.contentWindow.addEventListener('load', function () {
|
createdWindow.contentWindow.addEventListener('load', function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue