Fix scale/rescale attribute/hooks.

Still buggy so not yet activated in the UI, but the hooks are at least
here.
This commit is contained in:
Joel Martin
2011-04-29 14:01:40 -05:00
parent 1ac21e2941
commit 58b4c53661
2 changed files with 5 additions and 1 deletions

View File

@@ -460,6 +460,7 @@ function cdef(v, type, defval, desc) {
// Capability settings, default can be overridden
cdef('target', 'dom', document, 'DOM element that grabs mouse input');
cdef('focused', 'bool', true, 'Capture and send mouse clicks/movement');
cdef('scale', 'float', 1.0, 'Viewport scale factor 0.0 - 1.0');
cdef('mouseButton', 'func', null, 'Handler for mouse button click/release');
cdef('mouseMove', 'func', null, 'Handler for mouse movement');