From 61d255a420c9d977b46670e7fa9e7735d2acf819 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Wed, 6 Jan 2021 21:32:48 +0100 Subject: Add CLI with save feature --- src/gui/tool_sidebar.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui') diff --git a/src/gui/tool_sidebar.rs b/src/gui/tool_sidebar.rs index e6b8867..c123e2f 100644 --- a/src/gui/tool_sidebar.rs +++ b/src/gui/tool_sidebar.rs @@ -30,6 +30,9 @@ impl ToolSidebar { } fn panel_rect(screen_height: u16) -> Rect { + /* The width is currently hardcoded as 104, which is + * 64 (button-size) + 20 left gap + 20 right gap + */ Rect::new(0., 0., 104., screen_height as f32) } -- cgit v1.2.3-70-g09d2