mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 09:25:01 +00:00
Fix typo
This commit is contained in:
parent
55c4aa2716
commit
e08f2e755b
@ -13,6 +13,7 @@
|
||||
- Fixed `LinearLayout` giving children incorrect sizes.
|
||||
- More accurate "important area" for `ShadowView` and `PaddedView`.
|
||||
- Fix potential panic when calling `TextArea::set_cursor` before its first layout phase.
|
||||
- Disabled views no longer accept input if they are still in focus.
|
||||
|
||||
## 0.15.0
|
||||
|
||||
|
@ -209,7 +209,7 @@ impl<T: 'static> View for RadioButton<T> {
|
||||
}
|
||||
|
||||
fn on_event(&mut self, event: Event) -> EventResult {
|
||||
if !self.enabled() {
|
||||
if !self.enabled {
|
||||
return EventResult::Ignored;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user