File tree Expand file tree Collapse file tree
src/LiveDevelopment/BrowserScripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1289,7 +1289,16 @@ function RemoteFunctions(config = {}) {
12891289 "dismissUIAndCleanupState" : dismissUIAndCleanupState ,
12901290 "escapeKeyPressInEditor" : _handleEscapeKeyPress ,
12911291 "getMode" : function ( ) { return config . mode ; } ,
1292- "suppressDOMEditDismissal" : suppressDOMEditDismissal
1292+ "suppressDOMEditDismissal" : suppressDOMEditDismissal ,
1293+ "setHotCornerHidden" : function ( hidden ) {
1294+ if ( SHARED_STATE . _hotCorner && SHARED_STATE . _hotCorner . hotCorner ) {
1295+ if ( hidden ) {
1296+ SHARED_STATE . _hotCorner . hotCorner . classList . add ( 'hc-hidden' ) ;
1297+ } else {
1298+ SHARED_STATE . _hotCorner . hotCorner . classList . remove ( 'hc-hidden' ) ;
1299+ }
1300+ }
1301+ }
12931302 } ;
12941303
12951304 // the below code comment is replaced by added scripts for extensibility
You can’t perform that action at this time.
0 commit comments