Commit Graph

7 Commits (master)

Author SHA1 Message Date
Ian Prest 5b972cf6f6 Misc changes, mostly for per-key switch type
-- Switches.json -> now using hash for "switches" for easy lookup
-- Serialization changed so that we use "" for default switch types, and
this round-trips properly.
-- Had to switch from <select> to bootstrap-style dropdowns; when I
started trying to handle the 'default' settings better (i.e., when the
per-key setting was blank), Angular was throwing errors using the
<select> element.
-- Changing switch mount blanks out brand/type, etc.
-- Now disabling switch mount/brand/type controls when appropriate
-- PNG rendering now only doing #keyboard-bg, which allows me to make
#keyboard full-width again.
9 years ago
Ian Prest 970ca1f574 Polyfill for HTMLCanvasElement.toBlob 9 years ago
Ian Prest f0aad4265f Merge remote-tracking branch 'origin/master' into fully-generic-legends 9 years ago
Ian Prest 21faa8154d Merged utils.js --> extensions.js 9 years ago
Ian Prest b8c392954d Added "remove" function to array prototype
-- removes elements by value
9 years ago
Ian Prest b9ff4c651b Started implementation of rotated-cluster support.
-- Each key has a rotation angle, and center of rotation; available in
the editor.
-- Displaying crosshairs in the editor for the center of rotation.
-- Keyboard shortcuts to move CoR, and change angle.
-- Keyboard height is correctly calculated.
TODO:
-- Serialization is still wonky.
-- Can't click on rotated keys to select them.
11 years ago
Ian Prest cbc4b80d45 Moved serialization routines into their own .js file. 11 years ago