File tree Expand file tree Collapse file tree
src/vs/platform/contextview/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 min-width : 130px ;
88}
99
10- .context-view-block {
11- position : fixed;
12- cursor : initial;
13- left : 0 ;
14- top : 0 ;
15- width : 100% ;
16- height : 100% ;
17- }
Original file line number Diff line number Diff line change @@ -66,6 +66,12 @@ export class ContextMenuHandler {
6666 // Render invisible div to block mouse interaction in the rest of the UI
6767 if ( this . options . blockMouse ) {
6868 this . block = container . appendChild ( $ ( '.context-view-block' ) ) ;
69+ this . block . style . position = 'fixed' ;
70+ this . block . style . cursor = 'initial' ;
71+ this . block . style . left = '0' ;
72+ this . block . style . top = '0' ;
73+ this . block . style . width = '100%' ;
74+ this . block . style . height = '100%' ;
6975 domEvent ( this . block , EventType . MOUSE_DOWN ) ( ( e : MouseEvent ) => e . stopPropagation ( ) ) ;
7076 }
7177
You can’t perform that action at this time.
0 commit comments