diff options
author | rabite <rabite@posteo.de> | 2019-05-23 19:49:01 +0200 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-05-23 19:49:01 +0200 |
commit | cdaacd1ca6300a037140c01cce1d788bebf9baee (patch) | |
tree | e6268833bf817018e6401dd251ea82d011ec7f7d /src/hbox.rs | |
parent | 6d43ce621de7ea82eadaf2806fbab3836bdade7e (diff) |
move methods from Widget trait to WidgetCore
Diffstat (limited to 'src/hbox.rs')
-rw-r--r-- | src/hbox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hbox.rs b/src/hbox.rs index 4537961..d85bc51 100644 --- a/src/hbox.rs +++ b/src/hbox.rs @@ -72,7 +72,7 @@ impl<T> HBox<T> where T: Widget + PartialEq { } pub fn toggle_zoom(&mut self) -> HResult<()> { - self.clear().log(); + self.core.clear().log(); self.zoom_active = !self.zoom_active; self.resize_children() } |