Resolve key binding conflict
Toggle fullscreen vs. toggle scale to fit.
This commit is contained in:
parent
1c57eef05a
commit
2571bf15a9
|
@ -331,7 +331,7 @@ fastiv_view_key_press_event(GtkWidget *widget, GdkEventKey *event)
|
||||||
return set_scale(self, self->scale * SCALE_STEP);
|
return set_scale(self, self->scale * SCALE_STEP);
|
||||||
case GDK_KEY_minus:
|
case GDK_KEY_minus:
|
||||||
return set_scale(self, self->scale / SCALE_STEP);
|
return set_scale(self, self->scale / SCALE_STEP);
|
||||||
case GDK_KEY_f:
|
case GDK_KEY_F:
|
||||||
return set_scale_to_fit(self, !self->scale_to_fit);
|
return set_scale_to_fit(self, !self->scale_to_fit);
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue