Fix stack overflow
This commit is contained in:
parent
6f5cf10acb
commit
171db00f6e
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ impl<S: 'static + Send + Sync> Button<S> {
|
||||||
if self.disabled {
|
if self.disabled {
|
||||||
LabelColor::Disabled
|
LabelColor::Disabled
|
||||||
} else {
|
} else {
|
||||||
self.label_color()
|
Default::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ impl<S: 'static + Send + Sync> Button<S> {
|
||||||
if self.disabled {
|
if self.disabled {
|
||||||
IconColor::Disabled
|
IconColor::Disabled
|
||||||
} else {
|
} else {
|
||||||
self.icon_color()
|
Default::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue