refactor: rename zoom commands to use camelCase in API and PTZ control
This commit is contained in:
@ -162,7 +162,7 @@ const isDisabled = computed(() => !props.activeWindow)
|
||||
<el-button
|
||||
class="zoom-btn"
|
||||
:disabled="isDisabled"
|
||||
@mousedown="handlePtzStart('zoom_in')"
|
||||
@mousedown="handlePtzStart('zoomin')"
|
||||
@mouseup="handlePtzStop"
|
||||
@mouseleave="handlePtzStop"
|
||||
>
|
||||
@ -172,7 +172,7 @@ const isDisabled = computed(() => !props.activeWindow)
|
||||
<el-button
|
||||
class="zoom-btn"
|
||||
:disabled="isDisabled"
|
||||
@mousedown="handlePtzStart('zoom_out')"
|
||||
@mousedown="handlePtzStart('zoomout')"
|
||||
@mouseup="handlePtzStop"
|
||||
@mouseleave="handlePtzStop"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user