electron / libchromiumcontent

Shared library build of Chromium’s Content module
MIT License
486 stars 183 forks source link

fix: don't call SetInitialBounds on macOS #743

Closed zcbenz closed 5 years ago

zcbenz commented 5 years ago

Don't call SetInitialBounds on macOS, since the initial size has already been set by BridgedNativeWidget, and the SetInitialBounds of Widget has bug that will set wrong size.

Fix https://github.com/electron/electron/issues/16015.