diff options
| author | Max Pernklau | 2020-12-29 10:50:31 +0100 |
|---|---|---|
| committer | GitHub | 2020-12-29 10:50:31 +0100 |
| commit | 9b5762cf3716503819e2cf06f3c335bbfd3b0a3c (patch) | |
| tree | b5d5bd02e5de6bcdb34d0052d7675b2644ac377f /src/main.rs | |
| parent | 2d2f45df9d47db25ac5a91c8f926a025c3a5dc7a (diff) | |
| parent | f2430645e7b78dcc0b06a59d20b7c0ff36a5f3c2 (diff) | |
| download | graf_karto-9b5762cf3716503819e2cf06f3c335bbfd3b0a3c.tar.gz graf_karto-9b5762cf3716503819e2cf06f3c335bbfd3b0a3c.zip | |
Merge pull request #26 from LordSentox/position-indicator
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); } } } |
