summaryrefslogtreecommitdiffstats
path: root/src/hbox.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-05-23 19:49:01 +0200
committerrabite <rabite@posteo.de>2019-05-23 19:49:01 +0200
commitcdaacd1ca6300a037140c01cce1d788bebf9baee (patch)
treee6268833bf817018e6401dd251ea82d011ec7f7d /src/hbox.rs
parent6d43ce621de7ea82eadaf2806fbab3836bdade7e (diff)
move methods from Widget trait to WidgetCore
Diffstat (limited to 'src/hbox.rs')
-rw-r--r--src/hbox.rs2
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()
}