Avoid position resets on label paint

fsp_feeds
Tyler Goodlet 2021-08-15 12:33:26 -04:00
parent c1379001e5
commit 97ebd03508
1 changed files with 0 additions and 6 deletions

View File

@ -214,12 +214,6 @@ class LevelMarker(QGraphicsPathItem):
if self.keep_in_view:
self.position_in_view()
else: # just place at desired level even if not in view
self.setPos(
self.scene_x(),
self.mapToScene(QPointF(0, self.get_level())).y()
)
super().paint(p, opt, w)
if self._on_paint: