Skip to content

Commit

Permalink
Merge pull request #7526 from processing/cleanup-constants
Browse files Browse the repository at this point in the history
Clean up modifier key constants
  • Loading branch information
davepagurek authored Feb 4, 2025
2 parents 063a862 + e9e6524 commit e955799
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/core/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,11 +881,11 @@ export const MITER = 'miter';
export const AUTO = 'auto';
// INPUT
/**
* @typedef {'AltLeft' | 'AltRight'} ALT
* @typedef {'Alt'} ALT
* @property {ALT} ALT
* @final
*/
export const ALT = 'AltLeft';
export const ALT = 'Alt';

/**
* @typedef {'Backspace'} BACKSPACE
Expand All @@ -895,11 +895,11 @@ export const ALT = 'AltLeft';
export const BACKSPACE = 'Backspace';

/**
* @typedef {'ControlLeft' | 'ControlRight'} CONTROL
* @typedef {'Control' | 'Control'} CONTROL
* @property {CONTROL} CONTROL
* @final
*/
export const CONTROL = 'ControlLeft';
export const CONTROL = 'Control';

/**
* @typedef {'Delete'} DELETE
Expand Down Expand Up @@ -937,11 +937,11 @@ export const ESCAPE = 'Escape';
export const LEFT_ARROW = 'ArrowLeft';

/**
* @typedef {'AltLeft' | 'AltRight'} OPTION
* @typedef {'Alt'} OPTION
* @property {OPTION} OPTION
* @final
*/
export const OPTION = 'AltLeft';
export const OPTION = 'Alt';

/**
* @typedef {'Enter'} RETURN
Expand All @@ -958,11 +958,11 @@ export const RETURN = 'Enter';
export const RIGHT_ARROW = 'ArrowRight';

/**
* @typedef {'ShiftLeft' | 'ShiftRight'} SHIFT
* @typedef {'Shift'} SHIFT
* @property {SHIFT} SHIFT
* @final
*/
export const SHIFT = 'ShiftLeft';
export const SHIFT = 'Shift';

/**
* @typedef {'Tab'} TAB
Expand Down

0 comments on commit e955799

Please sign in to comment.