Fix stack overflow

This commit is contained in:
Marshall Bowers 2023-10-24 11:39:15 +02:00
parent 6f5cf10acb
commit 171db00f6e

View file

@ -129,7 +129,7 @@ impl<S: 'static + Send + Sync> Button<S> {
if self.disabled {
LabelColor::Disabled
} else {
self.label_color()
Default::default()
}
}
@ -137,7 +137,7 @@ impl<S: 'static + Send + Sync> Button<S> {
if self.disabled {
IconColor::Disabled
} else {
self.icon_color()
Default::default()
}
}