From f2430645e7b78dcc0b06a59d20b7c0ff36a5f3c2 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Mon, 28 Dec 2020 00:05:01 +0100 Subject: Add indicator to show where the mouse is pointing --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 8c1d63e..1cfc31b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -126,9 +126,9 @@ fn main() { editor.map().draw(&mut d, &transform); editor.draw_tools(&mut d, &transform); - tool_sidebar.draw(screen_height as u16, &mut d, &mut editor); - + gui::position_indicator_draw(&mut d, last_mouse_pos.into(), &transform); dimension_indicator.draw(&mut d, &transform); + tool_sidebar.draw(screen_height as u16, &mut d, &mut editor); } } } -- cgit v1.2.3-70-g09d2