Closed zcbenz closed 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.
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.