summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Patchage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index 38d17f7..d6e3a55 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -205,9 +205,9 @@ Patchage::idle_callback()
void
Patchage::zoom_changed()
{
- const float z = m_zoom_slider->get_value();
+ const double z = m_zoom_slider->get_value();
- m_canvas->zoom(z);
+ m_canvas->set_zoom(z);
m_state_manager->set_zoom(z);
}