Skip to content

[Bug]: WCO restore icon is off-center of the button when window is maximized #35038

@whzard

Description

@whzard

Preflight Checklist

Electron Version

19.0.8

What operating system are you using?

Windows

Operating System Version

Windows 10 21H1, build 19043.1826

What arch are you using?

x64

Last Known Working Electron version

19.0.0

Expected Behavior

When window is maximized, the restore icon stays in center

Actual Behavior

The restore icon appears to the top-left of the button center

Testcase Gist URL

https://gist.github.com/wheezard/4882c46fa8ffb96f9a131bd6ae219c6e

Additional Information

Unmaximized:
Normal button

Maximized:
Off-center button

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions