Merge branch 'dev' into 'dev'

Fix ONVIF Camera Zooming

See merge request Shinobi-Systems/Shinobi!59
merge-requests/68/head
Moe 2019-06-07 22:45:15 +00:00
commit d82b32a885
1 changed files with 2 additions and 2 deletions

View File

@ -430,8 +430,8 @@ module.exports = function(s,config,lang){
"right" : [1.0,'x'],
"down" : [-1.0,'y'],
"up" : [1.0,'y'],
"zoom_in" : [1.0,'zoom'],
"zoom_out" : [-1.0,'zoom']
"zoom_in" : [1.0,'z'],
"zoom_out" : [-1.0,'z']
}
var direction = onvifDirections[e.direction]
controlOptions.Velocity[direction[1]] = direction[0];