Fix zooming

merge-requests/68/head
TechplexEngineer 2019-04-16 15:43:51 +00:00
parent f8b6bb6692
commit 448c9f00d4
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];