git @ Cat's Eye Technologies Lexeduct / 0.1
Merge. Chris Pressey 6 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
2222 cfg.liveMode = !!cfg.liveMode;
2323
2424 input = yoob.makeTextArea(container, 40, 20, cfg.initialText);
25 input.onkeyup = function() {
25 input.oninput = function() {
2626 if ($this.liveMode) {
27 // TODO don't do this if it's a deadkey like shift
2827 $this.process();
2928 }
3029 };
9796 var paramInput = yoob.makeTextInput(panel, 24, def);
9897 slot.selectedParams[paramName] = def;
9998 var $this = this;
100 paramInput.onkeyup = function() {
99 paramInput.oninput = function() {
101100 slot.selectedParams[paramName] = paramInput.value;
102101 if ($this.liveMode) {
103 // TODO don't do this if it's a deadkey like shift
104102 $this.process();
105103 }
106104 };