Skip to content
Snippets Groups Projects
Commit b2ed6506 authored by gb10's avatar gb10
Browse files

Fixed a bug with middle-dragging on the exon view when caps lock is on

parent 35facc35
No related branches found
No related tags found
No related merge requests found
......@@ -526,7 +526,7 @@ static gboolean onButtonReleaseExonView(GtkWidget *exonView, GdkEventButton *eve
static gboolean onMouseMoveExonView(GtkWidget *exonView, GdkEventMotion *event, gpointer data)
{
if (event->state == GDK_BUTTON2_MASK) /* middle button */
if (event->state & GDK_BUTTON2_MASK) /* middle button */
{
/* Draw a preview box at the mouse pointer location */
showPreviewBox(exonViewGetBigPicture(exonView), event->x);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment