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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class Canvas(QWidget):
CREATE, EDIT = list(range(2)) CREATE, EDIT = list(range(2))
epsilon = 11.0 epsilon = 24.0
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(Canvas, self).__init__(*args, **kwargs) super(Canvas, self).__init__(*args, **kwargs)

View File

@ -34,7 +34,7 @@ class Shape(object):
vertex_fill_color = DEFAULT_VERTEX_FILL_COLOR vertex_fill_color = DEFAULT_VERTEX_FILL_COLOR
h_vertex_fill_color = DEFAULT_HVERTEX_FILL_COLOR h_vertex_fill_color = DEFAULT_HVERTEX_FILL_COLOR
point_type = P_ROUND point_type = P_ROUND
point_size = 8 point_size = 16
scale = 1.0 scale = 1.0
label_font_size = 8 label_font_size = 8