Keyboard shortcuts controller attached to the UI
- Source:
Members
(inner, constant) ANIMATION_KEYS_BLACKLIST :Array.<string>
Keys not allowed to work in animation mode
Type:
- Array.<string>
- Source:
(inner, constant) JULIA_HOTKEY_C_SMOOTH_MULTIPLIER :number
Super smooth stepping multiplier (SHIFT)
Type:
- number
- Source:
(inner, constant) JULIA_HOTKEY_C_SPEED :number
Smooth stepping: animation duration
Type:
- number
- Source:
(inner, constant) JULIA_HOTKEY_C_STEP :number
Smooth stepping: step size
Type:
- number
- Source:
(inner, constant) PAN_SMOOTH_STEP :number
Smooth (Shift) pan step size per keystroke
Type:
- number
- Source:
(inner, constant) PAN_SPEED :number
Pan movement animation duration
Type:
- number
- Source:
(inner, constant) PAN_STEP :number
Pan step size per keystroke
Type:
- number
- Source:
(inner, constant) ROTATION_ANIMATION_SMOOTH_STEP :number
Smooth rotation animation step size
Type:
- number
- Source:
(inner, constant) ROTATION_ANIMATION_STEP :number
Normal rotation animation step size
Type:
- number
- Source:
(inner, constant) ZOOM_ANIMATION_SMOOTH_STEP :number
Smooth (Shift) zoom step per keystroke
Type:
- number
- Source:
(inner, constant) ZOOM_ANIMATION_STEP :number
Zoom step per keystroke
Type:
- number
- Source:
Methods
(static) destroyHotKeys()
Destructor. Removes event listeners and cleans up
- Source:
(static) initHotKeys(app)
Initializes the keyboard event listener
Parameters:
Name | Type | Description |
---|---|---|
app |
FractalRenderer |
- Source:
(async, inner) onKeyDown(event) → {Promise.<void>}
Keydown event handler
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent |
- Source:
Returns:
- Type
- Promise.<void>