don't show content area screen if the window is not active
This commit is contained in:
parent
11b7baef1a
commit
00be6a4f00
@ -629,7 +629,11 @@ AutoHideBrowser.prototype = {
|
|||||||
},
|
},
|
||||||
showHideContentsAreaScreen : function AHB_showHideContentsAreaScreen()
|
showHideContentsAreaScreen : function AHB_showHideContentsAreaScreen()
|
||||||
{
|
{
|
||||||
if (this.expanded && this.contentAreaScreenEnabled) {
|
if (
|
||||||
|
this.expanded &&
|
||||||
|
this.contentAreaScreenEnabled &&
|
||||||
|
this.FocusManager.activeWindow.top == this.window
|
||||||
|
) {
|
||||||
let box = this.getContentsAreaBox();
|
let box = this.getContentsAreaBox();
|
||||||
let style = this.screen.style;
|
let style = this.screen.style;
|
||||||
let width = Math.min(box.width, this.window.screen.availWidth - box.screenX);
|
let width = Math.min(box.width, this.window.screen.availWidth - box.screenX);
|
||||||
|
Loading…
Reference in New Issue
Block a user