From 5812053fd22499251e2e2cedaa90fdd80c0d0988 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 10 Sep 2006 20:11:40 +0000 Subject: Zoom Full feature in FlowCanvas/Ingenuity. Fix for reattaching to running engine (reponse ID bug). More GUI work. git-svn-id: http://svn.drobilla.net/lad/patchage@126 a436a847-0d15-0410-975c-d299462d15a1 --- src/Patchage.cpp | 4 ++-- 1 file 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); } -- cgit v1.2.1