[Layout] Consistent input behavior

Inputs now handle invalid input consistently for all fields
This commit is contained in:
Doubek-Kraft
2017-06-23 11:42:52 -07:00
committed by Aaron Doubek-Kraft
parent f992fcebe1
commit 2e6fcec1c3
4 changed files with 12 additions and 8 deletions

View File

@@ -52,6 +52,8 @@ define(
//Expose width and height properties for editing
proxy.editWidth = new AccessorMutator(element, 'width', proxy.checkNumeric);
proxy.editHeight = new AccessorMutator(element, 'height', proxy.checkNumeric);
proxy.editX = new AccessorMutator(element,'x',proxy.checkNumeric);
proxy.editY = new AccessorMutator(element,'y', proxy.checkNumeric);
return proxy;
}