diff options
author | rabite <rabite@posteo.de> | 2019-02-05 15:56:58 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-02-05 15:59:36 +0100 |
commit | 89ffedad18f6a45874bf7ac98ba7a0ed69eb0685 (patch) | |
tree | 7fe53aca4399bf5e4bc72a91ce6f898488f9cb07 /src/hbox.rs | |
parent | d3746dacb2308523902501208bdca28965f2954a (diff) |
unnecessary animations
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 ab40da7..cdd7023 100644 --- a/src/hbox.rs +++ b/src/hbox.rs @@ -53,7 +53,7 @@ impl<T> HBox<T> where T: Widget { -> Coordinates where T: PartialEq { let xsize = self.coordinates.xsize(); let ysize = self.coordinates.ysize(); - let top = self.coordinates.top().x(); + let top = self.coordinates.top().y(); let pos = self.widgets.iter().position(|w | w == widget).unwrap(); let num = self.widgets.len(); |