Increase maximum for zoom plugin (#877)

This commit is contained in:
Marius Meisenzahl 2020-07-21 21:50:03 +02:00 committed by GitHub
parent 0c4f2de730
commit 203e93c4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,8 @@ namespace Gala.Plugins.Zoom {
// Nothing to do if zooming out of our bounds is requested
if (current_zoom <= 1.0f && !@in)
return;
else if (current_zoom >= 2.5f && @in)
else if (current_zoom >= 10.0f && @in)
Gdk.beep ();
return;
var wins = wm.ui_group;