Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose window.invalidateShadow() #32452

Merged
merged 5 commits into from
Dec 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update docs/api/browser-window.md
Co-authored-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
nornagon and RaisinTen committed Nov 30, 2022
commit 577b68b9a6c9a7f750b3d10d8b237219f44fbe77
2 changes: 1 addition & 1 deletion docs/api/browser-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ convey some sort of application status or to passively notify the user.

Invalidates the window shadow so that it is recomputed based on the current window shape.

`BrowserWindows` that are transparent and frameless can sometimes leave behind visual artifacts on macOS.
`BrowserWindows` that are transparent can sometimes leave behind visual artifacts on macOS.
This method can be used to clear these artifacts when, for example, performing an animation.

#### `win.setHasShadow(hasShadow)`
Expand Down