Skip to content
Snippets Groups Projects
Commit 0106ede2 authored by tag2y19's avatar tag2y19 Committed by Tom Greig
Browse files

Swap the zooming keybinds

It's better this way.
parent 386d1989
No related branches found
No related tags found
No related merge requests found
......@@ -414,8 +414,7 @@ static int key_callback( GtkEventControllerKey* event_controller,
case GDK_SHIFT_MASK: {
context->xfit = false;
context->xdist /= 2;
context->xdist *= 2;
gtk_widget_queue_draw( context->plot );
return true;
......@@ -450,7 +449,8 @@ static int key_callback( GtkEventControllerKey* event_controller,
case GDK_SHIFT_MASK: {
context->xdist *= 2;
context->xfit = false;
context->xdist /= 2;
gtk_widget_queue_draw( context->plot );
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment