more resolutions options
This commit is contained in:
+2
-2
@@ -47,8 +47,8 @@ app.registerExtension({
|
||||
|
||||
for (let i = 0; i < x.length; i++) {
|
||||
for (let j = 0; j < y.length; j++) {
|
||||
if (x[i] >= 360 && y[j] >= 360 && x[i] / y[j] === ratio && Math.round(lastX / x[i] * 100) / 100 === lastX / x[i]) {
|
||||
options.push(`${x[i]}x${y[j]}: ${lastX / x[i]}`);
|
||||
if (x[i] >= 360 && y[j] >= 360 && x[i] / y[j] === ratio) {
|
||||
options.push(`${x[i]}x${y[j]}: ${Math.round(lastX / x[i] * 100) / 100}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user