diff --git a/libs/canvas/tracking_text.cc b/libs/canvas/tracking_text.cc index f8f246c403..dd23f291f2 100644 --- a/libs/canvas/tracking_text.cc +++ b/libs/canvas/tracking_text.cc @@ -61,14 +61,16 @@ TrackingText::pointer_motion (Duple const& winpos) if (!track_x) { pos.x = position ().x; + } else { + pos.x += offset.x; } if (!track_y) { pos.y = position ().y; + } else { + pos.y += offset.y; } - pos = pos.translate (offset); - /* keep inside the window */ Rect r (0, 0, _canvas->width (), _canvas->height ());