On Wayland, fix color from close_button_icon_color not applying (#1444)

This commit is contained in:
Kirill Chibisov 2020-02-09 05:36:45 +03:00 committed by GitHub
parent 4eddd1e5bc
commit 96df858961
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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] {