File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export function activate (ink) {
13
13
subs = new CompositeDisposable ( )
14
14
15
15
subs . add ( atom . config . observe ( 'julia-client.uiOptions.layouts.outline.defaultLocation' , ( defaultLocation ) => {
16
- pane . getDefaultLocation = ( ) => { return defaultLocation }
16
+ pane . setDefaultLocation ( defaultLocation )
17
17
} ) )
18
18
subs . add ( client . onDetached ( ( ) => pane . setItems ( [ ] ) ) )
19
19
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ export function activate (ink) {
14
14
15
15
subs . add ( client . onDetached ( ( ) => clear ( ) ) )
16
16
subs . add ( atom . config . observe ( 'julia-client.uiOptions.layouts.profiler.defaultLocation' , ( defaultLocation ) => {
17
- pane . getDefaultLocation = ( ) => { return defaultLocation }
17
+ pane . setDefaultLocation ( defaultLocation )
18
18
} ) )
19
19
20
20
client . handle ( {
21
21
profile ( data ) {
22
22
const save = ( path ) => saveProfileTrace ( path , data )
23
23
const profile = new ink . Profiler . ProfileViewer ( { data, save} )
24
24
pane . ensureVisible ( {
25
- split : 'julia-client.uiOptions.layouts.profiler.split'
25
+ split : atom . config . get ( 'julia-client.uiOptions.layouts.profiler.split' )
26
26
} )
27
27
pane . show ( new ink . Pannable ( profile , { zoomstrategy : 'width' , minScale : 0.5 } ) )
28
28
}
You can’t perform that action at this time.
0 commit comments