Add documentation to keybinding globals

This commit is contained in:
Manuel Vögele
2022-09-30 14:00:34 +02:00
parent 626829e989
commit a1c10e088d
+5
View File
@@ -1,8 +1,13 @@
import {settingsKey} from "./settings.js"; import {settingsKey} from "./settings.js";
import {getMeasurePosition, setSnapParameterOnOptions} from "./util.js"; import {getMeasurePosition, setSnapParameterOnOptions} from "./util.js";
// Indicates whether the user is currently pressing the button to disable snapping
export let disableSnap = false; export let disableSnap = false;
// Indicates whether the user is currently pressing the button to disable the movement animation
export let moveWithoutAnimation = false; export let moveWithoutAnimation = false;
// Indicates whether the user is pressing the pathfinding toggle button
export let togglePathfinding = false; export let togglePathfinding = false;
export function registerKeybindings() { export function registerKeybindings() {