globally remove all trailing whitespace from ardour code base.
[ardour.git] / libs / canvas / tracking_text.cc
index ea44102f8f2bf6f6d046a70d6897d0e47b20687f..7f945dc7ce494598edef80be4c1cd2940b11ed51 100644 (file)
@@ -112,7 +112,7 @@ TrackingText::show_and_track (bool tx, bool ty)
 
        if (!was_visible) {
                /* move to current pointer location. do this after show() so that
-                * _visible is true, and thus ::pointer_motion() will do 
+                * _visible is true, and thus ::pointer_motion() will do
                 * something.
                 */
                Duple winpos;
@@ -128,17 +128,23 @@ TrackingText::show_and_track (bool tx, bool ty)
 void
 TrackingText::set_x_offset (double o)
 {
+        begin_change ();
        offset.x = o;
+        end_change ();
 }
 
 void
 TrackingText::set_y_offset (double o)
 {
+        begin_change ();
        offset.y = o;
+        end_change ();
 }
 
 void
 TrackingText::set_offset (Duple const & d)
 {
+        begin_change ();
        offset = d;
+        end_change ();
 }