UX: Increase size of vertex controls around shape (#863)

* Increase shape vertex control size

* Increase canvas epsilon
This commit is contained in:
Zhang Ch. N
2022-04-30 14:38:55 +08:00
committed by GitHub
parent 1a3313842c
commit 861fbe9a2b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class Canvas(QWidget):
CREATE, EDIT = list(range(2))
epsilon = 11.0
epsilon = 24.0
def __init__(self, *args, **kwargs):
super(Canvas, self).__init__(*args, **kwargs)
+1 -1
View File
@@ -34,7 +34,7 @@ class Shape(object):
vertex_fill_color = DEFAULT_VERTEX_FILL_COLOR
h_vertex_fill_color = DEFAULT_HVERTEX_FILL_COLOR
point_type = P_ROUND
point_size = 8
point_size = 16
scale = 1.0
label_font_size = 8