You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we implement the mouse inactivity hidden in fullscreen mode. This can also solve the controls not hiding in fullscreen since the same inactivity function can also hide the controls.
Something like this function should do the trick.
var justHidden = false;
var j;
$(document).mousemove(function() {
if (!justHidden) {
justHidden = false;
console.log('move');
clearTimeout(j);
$('html').css({cursor: 'default'});
j = setTimeout(hide, 1000);
}
});
Can we implement the mouse inactivity hidden in fullscreen mode. This can also solve the controls not hiding in fullscreen since the same inactivity function can also hide the controls.
Something like this function should do the trick.
var justHidden = false;
function hide() {
$('html').css({cursor: 'none'});
justHidden = true;
setTimeout(function() {
justHidden = false;
}, 500);
}
The text was updated successfully, but these errors were encountered: