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

[v2, windows] Make SetBackgroundColour compatible for windows/386 #1493

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

stffabi
Copy link
Collaborator

@stffabi stffabi commented Jun 24, 2022

No description provided.

@@ -86,10 +86,6 @@ func NewWindow(parent winc.Controller, appoptions *options.App, versionInfo *ope
result.theme = winoptions.SystemDefault
}

if appoptions.BackgroundColour != nil {
win32.SetBackgroundColour(result.Handle(), appoptions.BackgroundColour.R, appoptions.BackgroundColour.G, appoptions.BackgroundColour.B)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is already called at line 80

@stffabi stffabi force-pushed the feature/windows-setbackground-32bit branch from 6592af0 to 54150c9 Compare June 24, 2022 20:02
@stffabi stffabi requested a review from leaanthony June 24, 2022 20:03
@stffabi stffabi enabled auto-merge (squash) June 24, 2022 20:04
Copy link
Member

@leaanthony leaanthony left a comment

Choose a reason for hiding this comment

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

Nice!

@stffabi stffabi merged commit c61ce1e into wailsapp:master Jun 24, 2022
@stffabi stffabi deleted the feature/windows-setbackground-32bit branch July 25, 2022 12:23
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