@@ -4,7 +4,7 @@ import SplitPane from 'react-split-pane';
4
4
import Pane from 'react-split-pane/lib/Pane' ;
5
5
import { container } from 'tsyringe' ;
6
6
7
- import { classNames , prefixClaName } from 'mo/common/className' ;
7
+ import { classNames , getFontInMac , prefixClaName } from 'mo/common/className' ;
8
8
9
9
import { EditorView } from 'mo/workbench/editor' ;
10
10
import { SidebarView } from 'mo/workbench/sidebar' ;
@@ -13,7 +13,6 @@ import { ActivityBarView } from 'mo/workbench/activityBar';
13
13
import { StatusBarView } from 'mo/workbench/statusBar' ;
14
14
import { PanelView } from 'mo/workbench/panel' ;
15
15
import { ID_APP } from 'mo/common/id' ;
16
- import { Utils } from '@dtinsight/dt-utils' ;
17
16
import { APP_PREFIX } from 'mo/common/const' ;
18
17
19
18
import { connect } from 'mo/react' ;
@@ -27,7 +26,7 @@ import { IWorkbench } from 'mo/model';
27
26
const mainBenchClassName = prefixClaName ( 'mainBench' ) ;
28
27
const workbenchClassName = prefixClaName ( 'workbench' ) ;
29
28
const compositeBarClassName = prefixClaName ( 'compositeBar' ) ;
30
- const appClassName = classNames ( APP_PREFIX , Utils . isMacOs ( ) ? 'mac' : '' ) ;
29
+ const appClassName = classNames ( APP_PREFIX , getFontInMac ( ) ) ;
31
30
32
31
const layoutController = container . resolve ( LayoutController ) ;
33
32
const layoutService = container . resolve ( LayoutService ) ;
0 commit comments