fix(button): image button rendering fixes

This commit is contained in:
Michael Aaron Murphy 2023-11-11 01:10:05 +01:00 committed by Michael Murphy
parent 6c7a080209
commit 14614e4e03
4 changed files with 64 additions and 40 deletions

View file

@ -80,4 +80,7 @@ pub trait StyleSheet {
/// Produces the pressed [`Appearance`] of a button.
fn pressed(&self, focused: bool, style: &Self::Style) -> Appearance;
/// Background color of the selection indicator
fn selection_background(&self) -> Background;
}