mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-30 08:59:38 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user