You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was actually addressed as a side effect of #42056 - as of this PR, you can pass in double values and they will be rounded to the nearest number and set to that.
Preflight Checklist
Electron Version
30.0.1
What operating system are you using?
Windows
Operating System Version
Windows 10 version 22H2 (OS build 19045.4291)
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
It should set width/height to the exact number; or at least the nearest number.
Actual Behavior
It falls back to the default value of the property that has a decimal number.
Testcase Gist URL
No response
Additional Information
It just doesn't respect the decimal number.
As example, if the width of the BrowserWindow is set to 3.14, it uses the default value; which is 800.
The text was updated successfully, but these errors were encountered: