File tree Expand file tree Collapse file tree
src/vs/workbench/browser/parts/titlebar/media Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 */
3434 transform : translate3d (0px , 0px , 0px );
3535 position : relative;
36- z-index : 1000 ;
36+ z-index : 1000 ; // move the entire titlebar above the workbench, except modals/dialogs
3737}
3838
3939.monaco-workbench .part .titlebar > .titlebar-drag-region {
4343 position : absolute;
4444 width : 100% ;
4545 height : 100% ;
46- z-index : -1 ;
4746 -webkit-app-region : drag;
4847}
4948
49+ .monaco-workbench .part .titlebar > .menubar {
50+ // Move above drag region since negative z-index on that element causes AA issues
51+ z-index : 1 ;
52+ }
53+
5054.monaco-workbench .part .titlebar > .window-title {
5155 flex : 0 1 auto;
5256 font-size : 12px ;
97101 width : 35px ;
98102 height : 100% ;
99103 position : relative;
100- z-index : 3000 ;
104+ z-index : 2 ; // highest level of titlebar
101105 background-image : url ('code-icon.svg' );
102106 background-repeat : no-repeat;
103107 background-position : center center;
115119 flex-shrink : 0 ;
116120 text-align : center;
117121 position : relative;
118- z-index : 3000 ;
122+ z-index : 2 ; // highest level of titlebar
119123 -webkit-app-region : no-drag;
120124 height : 100% ;
121125 width : 138px ;
You can’t perform that action at this time.
0 commit comments