From 1cb311602c2aea2f5bd30388818b6b8615521660 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 15 Aug 2021 16:17:03 -0400 Subject: [PATCH] Revert commenting bounding rect fix.. --- piker/ui/_lines.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/piker/ui/_lines.py b/piker/ui/_lines.py index d2f40b62..f116219b 100644 --- a/piker/ui/_lines.py +++ b/piker/ui/_lines.py @@ -706,6 +706,10 @@ def order_line( # XXX: this is our new approach but seems slower? marker = line.add_marker(marker) + # XXX: DON'T COMMENT THIS! + # this fixes it the artifact issue! .. of course, bounding rect stuff + line._maxMarkerSize = marker_size + assert line._marker is marker assert not line.markers @@ -722,9 +726,6 @@ def order_line( # testing to figure out why tf that's true. # line.markers.append((marker, 0, marker_size)) - # this fixes it the artifact issue! .. of course, bounding rect stuff - # line._maxMarkerSize = marker_size - marker.label = label # sanity check