refactor(es modules): modulize utils

This commit is contained in:
Azgaar 2022-06-26 22:07:32 +03:00
parent b8ae515425
commit 4814bce58d
14 changed files with 99 additions and 83 deletions

View file

@ -6,6 +6,7 @@ import {byId} from "/src/utils/shorthands";
import {rn, minmax, lim} from "/src/utils/numberUtils";
import {link} from "@/utils/linkUtils";
import {prompt} from "@/scripts/prompt";
import {throttle} from "@/utils/functionUtils";
export function editHeightmap(options) {
const {mode, tool} = options || {};