Skip to content

fix: install resize border when set decorations#45

Merged
twlite merged 1 commit into
webviewjs:mainfrom
zhuxiaojt:main
Jun 28, 2026
Merged

fix: install resize border when set decorations#45
twlite merged 1 commit into
webviewjs:mainfrom
zhuxiaojt:main

Conversation

@zhuxiaojt

@zhuxiaojt zhuxiaojt commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

@twlite This PR installs a resize border when setDecorations(false) is called on a resizable window.

A cleanup function is included to remove the subclass and restore the window style when needed.

The code itself was written with the help of AI, but it has been reviewed and compiles successfully on all platforms. I've also manually tested it on Windows to confirm the fix works as expected.

@twlite twlite left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you so much

@twlite twlite merged commit 4a484d4 into webviewjs:main Jun 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants