Commit graph

7 commits

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.
2015-08-10 21:40:53 -04:00
Ian Prest
970ca1f574 Polyfill for HTMLCanvasElement.toBlob 2015-08-09 12:36:33 -04:00
Ian Prest
f0aad4265f Merge remote-tracking branch 'origin/master' into fully-generic-legends 2015-07-23 00:35:40 -04:00
Ian Prest
21faa8154d Merged utils.js --> extensions.js 2015-07-20 20:03:23 -04:00
Ian Prest
b8c392954d Added "remove" function to array prototype
-- removes elements by value
2015-07-17 22:16:43 -04:00
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.
2013-11-12 22:56:41 -05:00
Ian Prest
cbc4b80d45 Moved serialization routines into their own .js file. 2013-11-09 23:08:08 -05:00