visbug-lib
Version:
<p align="center"> <img src="./assets/visbug.png" width="300" height="300" alt="visbug"> <br> <a href="https://www.npmjs.org/package/visbug"><img src="https://img.shields.io/npm/v/visbug.svg?style=flat" alt="npm latest version number"></a> <a href
16 lines (11 loc) • 342 B
JavaScript
import { HotkeyMap } from './base.element'
import { metaKey, altKey } from '../../utilities/'
export class MarginHotkeys extends HotkeyMap {
constructor() {
super()
this._hotkey = 'm'
this._usedkeys = ['shift',metaKey,altKey]
this.tool = 'margin'
}
}
customElements.define('hotkeys-margin', MarginHotkeys)