mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Fixed comparison
This commit is contained in:
parent
c57976071c
commit
79f308ffd7
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ function changeDialogsTheme(themeColor, transparency) {
|
|||
}
|
||||
|
||||
function changeZoomExtent(value) {
|
||||
if(zoomExtentMin.value > zoomExtentMax.value) {
|
||||
if(+zoomExtentMin.value > +zoomExtentMax.value) {
|
||||
[zoomExtentMin.value, zoomExtentMax.value]=[zoomExtentMax.value, zoomExtentMin.value];
|
||||
}
|
||||
const min = Math.max(+zoomExtentMin.value, 0.01);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue