File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2087,6 +2087,7 @@ Panel.prototype = {
20872087 this . _hidden = false ;
20882088 this . _disabled = false ;
20892089 this . _panelEditMode = false ;
2090+ this . _highlighted = false ;
20902091 this . _autohideSettings = null ;
20912092 this . _destroyed = false ;
20922093 this . _positionChanged = false ;
@@ -2405,8 +2406,8 @@ Panel.prototype = {
24052406
24062407 this . actor . change_style_pseudo_class ( 'highlight' , highlight ) ;
24072408
2408- if ( highlight )
2409- this . peekPanel ( ) ;
2409+ this . _highlighted = highlight ;
2410+ this . _updatePanelVisibility ( ) ;
24102411 } ,
24112412
24122413 /**
@@ -3685,7 +3686,7 @@ Panel.prototype = {
36853686 * true = autohide, false = always show, intel = Intelligent
36863687 */
36873688 _updatePanelVisibility : function ( ) {
3688- if ( this . _panelEditMode || this . _peeking || this . _panelHasOpenMenus ( ) )
3689+ if ( this . _panelEditMode || this . _highlighted || this . _peeking || this . _panelHasOpenMenus ( ) )
36893690 this . _shouldShow = true ;
36903691 else {
36913692 switch ( this . _autohideSettings ) {
You can’t perform that action at this time.
0 commit comments