mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
On Wayland, fix color from close_button_icon_color not applying (#1444)
This commit is contained in:
@@ -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] {
|
||||
|
||||
Reference in New Issue
Block a user