1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 12:07:59 +01:00

Fix zi/zi error at zoom range boundaries.

This commit is contained in:
Doug Kearns
2009-03-30 18:45:55 +11:00
parent 3c22453d31
commit c146ff99b4

View File

@@ -78,8 +78,9 @@ function Buffer() //{{{
let i = cur + steps;
i = Math.max(0, Math.min(values.length - 1, i));
if (i == cur && fulZoom == ZoomManager.useFullZoom)
if (i == cur && fullZoom == ZoomManager.useFullZoom)
liberator.beep();
setZoom(Math.round(values[i] * 100), fullZoom);
}