Code

fix sticking in rotation mode after click (correct fix this time, sorry)
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 17 Feb 2008 03:49:52 +0000 (03:49 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 17 Feb 2008 03:49:52 +0000 (03:49 +0000)
src/ui/widget/rotateable.cpp

index 89ffa06d62e0bf923d4beb698090ac18252620d7..8615df7a97064865933626a9d38b95e6f0fdbd8a 100644 (file)
@@ -118,6 +118,8 @@ bool Rotateable::on_release(GdkEventButton *event) {
             force = 0; // snap to zero
         do_release(force, modifier);
         current_axis = axis;
+        dragging = false;
+        working = false;
         return true;
                }
     dragging = false;