diff options
| author | Arne Dußin | 2020-12-28 00:05:01 +0100 |
|---|---|---|
| committer | Arne Dußin | 2020-12-28 00:05:01 +0100 |
| commit | f2430645e7b78dcc0b06a59d20b7c0ff36a5f3c2 (patch) | |
| tree | b5d5bd02e5de6bcdb34d0052d7675b2644ac377f /src/main.rs | |
| parent | 2d2f45df9d47db25ac5a91c8f926a025c3a5dc7a (diff) | |
| download | graf_karto-f2430645e7b78dcc0b06a59d20b7c0ff36a5f3c2.tar.gz graf_karto-f2430645e7b78dcc0b06a59d20b7c0ff36a5f3c2.zip | |
Add indicator to show where the mouse is pointing
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |
