lttng / lttng-scope

A trace viewer and analyzer for LTTng kernel and user space traces
https://lttng.org/beta/#lttng-scope
Eclipse Public License 1.0
28 stars 6 forks source link

timegraph: Offset the position of all UI objects on zoom events #26

Closed ghost closed 7 years ago

ghost commented 7 years ago

Right now, when zooming, the position of the state rectangles is corrected so that they seem to remain in the exact same spot as we zoom (while the pane size changes). This was fixed in #5.

The same correction should be applied to other UI layers, like labels and arrows. Labels for instance should be repositioned, but not stretched, we want the font to remain the same.