diff options
| author | Arne Dußin | 2021-01-05 12:44:02 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-01-05 12:44:02 +0100 |
| commit | 1c81d7c70fe891e6ded49d49d6a09f04ce74dd6e (patch) | |
| tree | b1174fed1738ac75c59760d61a2a248033163379 /src/main.rs | |
| parent | 99107c0be8675177547e7a25263da0c0dffb66f3 (diff) | |
| download | graf_karto-1c81d7c70fe891e6ded49d49d6a09f04ce74dd6e.tar.gz graf_karto-1c81d7c70fe891e6ded49d49d6a09f04ce74dd6e.zip | |
Position indicator is now dependent on current snapping
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index c9ebe48..345477b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -134,9 +134,8 @@ fn main() { tool_sidebar.draw(screen_height as u16, &mut d, &mut editor); snapper.draw(&mut d); - gui::position_indicator_draw(&mut d, last_mouse_pos.into(), &transform); + gui::position_indicator_draw(&mut d, last_mouse_pos.into(), &transform, &snapper); dimension_indicator.draw(&mut d, &transform); - tool_sidebar.draw(screen_height as u16, &mut d, &mut editor); } } } |
