diff options
Diffstat (limited to 'src/miller_columns.rs')
-rw-r--r-- | src/miller_columns.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/miller_columns.rs b/src/miller_columns.rs index ca621e4..db1daba 100644 --- a/src/miller_columns.rs +++ b/src/miller_columns.rs @@ -93,9 +93,14 @@ where fn get_core_mut(&mut self) -> HResult<&mut WidgetCore> { Ok(&mut self.core) } + + fn set_coordinates(&mut self, coordinates: &Coordinates) -> HResult<()> { + self.core.coordinates = coordinates.clone(); + self.widgets.set_coordinates(&coordinates) + } + fn refresh(&mut self) -> HResult<()> { - self.widgets.refresh().log(); - Ok(()) + self.widgets.refresh() } fn get_drawlist(&self) -> HResult<String> { |