feat: icon default fallbacks
This commit is contained in:
parent
456b2ddcd5
commit
598bfaa611
3 changed files with 67 additions and 30 deletions
|
|
@ -542,7 +542,7 @@ where
|
|||
bounds.x += offset;
|
||||
bounds.width -= offset;
|
||||
|
||||
match icon.load(self.icon_size, None, false) {
|
||||
match icon.load(self.icon_size, None, false, true) {
|
||||
icon::Handle::Image(_handle) => {
|
||||
unimplemented!()
|
||||
}
|
||||
|
|
@ -583,7 +583,7 @@ where
|
|||
let width = f32::from(self.icon_size);
|
||||
let icon_bounds = close_bounds(original_bounds, width, self.button_padding);
|
||||
|
||||
match self.close_icon.load(self.icon_size, None, false) {
|
||||
match self.close_icon.load(self.icon_size, None, false, true) {
|
||||
icon::Handle::Image(_handle) => {
|
||||
unimplemented!()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue