From a1c10e088d32b3bce2444a0d066164beefdc8c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Fri, 30 Sep 2022 14:00:34 +0200 Subject: [PATCH] Add documentation to keybinding globals --- js/keybindings.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/keybindings.js b/js/keybindings.js index 785c285..d3831bc 100644 --- a/js/keybindings.js +++ b/js/keybindings.js @@ -1,8 +1,13 @@ import {settingsKey} from "./settings.js"; import {getMeasurePosition, setSnapParameterOnOptions} from "./util.js"; +// Indicates whether the user is currently pressing the button to disable snapping export let disableSnap = false; + +// Indicates whether the user is currently pressing the button to disable the movement animation export let moveWithoutAnimation = false; + +// Indicates whether the user is pressing the pathfinding toggle button export let togglePathfinding = false; export function registerKeybindings() {