mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor(es modules): modulize utils
This commit is contained in:
parent
b8ae515425
commit
4814bce58d
14 changed files with 99 additions and 83 deletions
|
|
@ -1,9 +1,9 @@
|
|||
"use strict";
|
||||
import {debounce} from "@/utils/functionUtils";
|
||||
|
||||
// temporary expose to global
|
||||
let scale = 1;
|
||||
let viewX = 0;
|
||||
let viewY = 0;
|
||||
window.scale = 1;
|
||||
window.viewX = 0;
|
||||
window.viewY = 0;
|
||||
|
||||
window.Zoom = (function () {
|
||||
function onZoom() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue