mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-28 18:53:49 -04:00
Changed the method for controlling the visibility of the "#button_zoom" button bar (watch.js)
If we use "slideDown" & "slideUp", then with "display=grid" for the external block, there may be problems, Perhaps because we also used "display=none" for the button block.
This commit is contained in:
@@ -842,12 +842,14 @@ function streamPrepareStart(monitor=null) {
|
||||
function handleMouseEnter(event) {
|
||||
//Displaying "Scale" and other buttons at the top of the monitor image
|
||||
const id = stringToNumber(this.id);
|
||||
$j('#button_zoom' + id).stop(true, true).slideDown('fast');
|
||||
//$j('#button_zoom' + id).stop(true, true).slideDown('fast');
|
||||
$j('#button_zoom' + id).removeClass('hidden');
|
||||
}
|
||||
|
||||
function handleMouseLeave(event) {
|
||||
const id = stringToNumber(this.id);
|
||||
$j('#button_zoom' + id).stop(true, true).slideUp('fast');
|
||||
//$j('#button_zoom' + id).stop(true, true).slideUp('fast');
|
||||
$j('#button_zoom' + id).addClass('hidden');
|
||||
}
|
||||
|
||||
function streamStart(monitor = null) {
|
||||
|
||||
Reference in New Issue
Block a user