Add documentation to keybinding globals
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user