mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:17:59 +01:00
Fix zi/zi error at zoom range boundaries.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user