feat: implement cluster averaging pipeline, UI controls
This commit is contained in:
@@ -475,11 +475,11 @@ class WaferMapItem(QQuickPaintedItem):
|
||||
# Calculate box top-left (lx, ly) relative to dot center (px, py)
|
||||
gap = 3
|
||||
if side == "left":
|
||||
lx = px - r - gap - text_w + ox
|
||||
lx = px - r - gap - text_w - ox
|
||||
ly = py - text_h // 2 + oy
|
||||
elif side == "top":
|
||||
lx = px - text_w // 2 + ox
|
||||
ly = py - r - gap - text_h + oy
|
||||
ly = py - r - gap - text_h - oy
|
||||
elif side == "bottom":
|
||||
lx = px - text_w // 2 + ox
|
||||
ly = py + r + gap + oy
|
||||
|
||||
Reference in New Issue
Block a user