File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/workbench/browser/parts/titlebar Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -232,9 +232,6 @@ export class TitlebarPart extends Part implements ITitleService {
232
232
this . element = parent ;
233
233
this . rootContainer = append ( parent , $ ( '.titlebar-container' ) ) ;
234
234
235
- // Draggable region that we can manipulate for #52522
236
- this . dragRegion = prepend ( this . rootContainer , $ ( 'div.titlebar-drag-region' ) ) ;
237
-
238
235
// App Icon (Native Windows/Linux and Web)
239
236
if ( ! isMacintosh && ! isWeb ) {
240
237
this . appIcon = prepend ( this . rootContainer , $ ( 'a.window-appicon' ) ) ;
@@ -254,6 +251,9 @@ export class TitlebarPart extends Part implements ITitleService {
254
251
}
255
252
}
256
253
254
+ // Draggable region that we can manipulate for #52522
255
+ this . dragRegion = prepend ( this . rootContainer , $ ( 'div.titlebar-drag-region' ) ) ;
256
+
257
257
// Menubar: install a custom menu bar depending on configuration
258
258
// and when not in activity bar
259
259
if ( this . titleBarStyle !== 'native'
You can’t perform that action at this time.
0 commit comments