mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
Support runtime colour change
This commit is contained in:
@@ -115,7 +115,7 @@ func (c *Client) WindowSize(width int, height int) {
|
||||
|
||||
// WindowSetColour sets the window colour
|
||||
func (c *Client) WindowSetColour(colour int) {
|
||||
r, b, g, a := intToColour(colour)
|
||||
r, g, b, a := intToColour(colour)
|
||||
C.SetColour(c.app.app, r, g, b, a)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user