]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionzoompan.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionzoompan.cpp
index 7aa3a42a6903067d8a4d72c70a1a48f0b561b017..c2f028008844fc5af86303ff74a89368c7fc9d69 100644 (file)
 
 #include "graphicview.h"
 
-ActionZoomPan::ActionZoomPan(RS_EntityContainer & container, GraphicView & graphicView):
+ActionZoomPan::ActionZoomPan(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Zoom Pan", container, graphicView)
 {
-       graphicView.snapper.SetVisible(false);
+//     graphicView.snapper.SetVisible(false);
+       graphicView.SetSnapperVisible(false);
        graphicView.preview.SetVisible(false);
 }