Ignore double/triple clicks in LdDiagramView.
Fixes fast rotating.
This commit is contained in:
parent
6c925b7092
commit
6a24ede141
|
@ -2232,7 +2232,8 @@ on_button_press (GtkWidget *widget, GdkEventButton *event, gpointer user_data)
|
||||||
LdDiagramView *self;
|
LdDiagramView *self;
|
||||||
|
|
||||||
self = LD_DIAGRAM_VIEW (widget);
|
self = LD_DIAGRAM_VIEW (widget);
|
||||||
if (!self->priv->diagram)
|
if (!self->priv->diagram
|
||||||
|
|| event->type != GDK_BUTTON_PRESS)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
point.x = event->x;
|
point.x = event->x;
|
||||||
|
|
Loading…
Reference in New Issue