mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 13:31:29 +11:00
On Wayland, fix color from close_button_icon_color
not applying (#1444)
This commit is contained in:
parent
4eddd1e5bc
commit
96df858961
|
@ -1,6 +1,7 @@
|
|||
# Unreleased
|
||||
|
||||
- On Wayland, fix coordinates in touch events when scale factor isn't 1
|
||||
- On Wayland, fix coordinates in touch events when scale factor isn't 1.
|
||||
- On Wayland, fix color from `close_button_icon_color` not applying.
|
||||
|
||||
# 0.21.0 (2020-02-04)
|
||||
|
||||
|
|
|
@ -446,7 +446,8 @@ impl<T: Theme> SCTKTheme for WaylandTheme<T> {
|
|||
}
|
||||
|
||||
fn get_close_button_icon_color(&self, status: SCTKButtonState) -> [u8; 4] {
|
||||
self.0.close_button_color(ButtonState::from_sctk(status))
|
||||
self.0
|
||||
.close_button_icon_color(ButtonState::from_sctk(status))
|
||||
}
|
||||
|
||||
fn get_maximize_button_color(&self, status: SCTKButtonState) -> [u8; 4] {
|
||||
|
|
Loading…
Reference in a new issue