aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArne Dußin2020-11-02 00:58:06 +0100
committerArne Dußin2020-11-02 00:58:06 +0100
commit1374b5a2d7f5d8a894434ee52e07868ab22770a9 (patch)
tree2b389aeeae4e232affafc8aef3f6a0a1a54ecafb /src
parent81b531aaec7ad12b138dbf1bd2c24d2bd4352024 (diff)
downloadgraf_karto-1374b5a2d7f5d8a894434ee52e07868ab22770a9.tar.gz
graf_karto-1374b5a2d7f5d8a894434ee52e07868ab22770a9.zip
Remove TODO that is done
Diffstat (limited to 'src')
-rw-r--r--src/transform.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/transform.rs b/src/transform.rs
index b0b0e0a..d074c03 100644
--- a/src/transform.rs
+++ b/src/transform.rs
@@ -116,7 +116,6 @@ impl Transform {
/// Attempts to zoom out a step and return true.
/// If the minimum zoom is reached, this function changes nothing and returns false.
pub fn try_zoom_out(&mut self, mouse_pos_px: Vec2<f32>) -> bool {
- // TODO: Zoom out at mouse pointer position
if self.pixels_per_m > MIN_PIXELS_PER_M {
// Save the absolute mouse position for tethering later
let mouse_pos_m = self.point_px_to_m(mouse_pos_px);