Commit e1849f7 1 parent e28c766 commit e1849f7 Copy full SHA for e1849f7
File tree 4 files changed +11
-11
lines changed
packages/dockview-core/src
4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ export class BranchNode extends CompositeDisposable implements IView {
131
131
return LayoutPriority . Normal ;
132
132
}
133
133
134
- get locked ( ) : boolean {
135
- return this . splitview . locked ;
134
+ get disabled ( ) : boolean {
135
+ return this . splitview . disabled ;
136
136
}
137
137
138
- set locked ( value : boolean ) {
139
- this . splitview . locked = value ;
138
+ set disabled ( value : boolean ) {
139
+ this . splitview . disabled = value ;
140
140
}
141
141
142
142
constructor (
@@ -187,7 +187,7 @@ export class BranchNode extends CompositeDisposable implements IView {
187
187
} ) ;
188
188
}
189
189
190
- this . locked = disabled ;
190
+ this . disabled = disabled ;
191
191
192
192
this . addDisposables (
193
193
this . _onDidChange ,
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function flipNode<T extends Node>(
42
42
node . styles ,
43
43
size ,
44
44
orthogonalSize ,
45
- node . locked
45
+ node . disabled
46
46
) ;
47
47
48
48
let totalSize = 0 ;
@@ -350,7 +350,7 @@ export class Gridview implements IDisposable {
350
350
const node = branch . pop ( ) ;
351
351
352
352
if ( node instanceof BranchNode ) {
353
- node . locked = value ;
353
+ node . disabled = value ;
354
354
branch . push ( ...node . children ) ;
355
355
}
356
356
}
Original file line number Diff line number Diff line change 25
25
height : 100% ;
26
26
width : 100% ;
27
27
28
- & .dv-splitview-locked {
28
+ & .dv-splitview-disabled {
29
29
& > .sash-container > .sash {
30
30
pointer-events : none ;
31
31
}
Original file line number Diff line number Diff line change @@ -201,14 +201,14 @@ export class Splitview {
201
201
this . updateSashEnablement ( ) ;
202
202
}
203
203
204
- get locked ( ) : boolean {
204
+ get disabled ( ) : boolean {
205
205
return this . _disabled ;
206
206
}
207
207
208
- set locked ( value : boolean ) {
208
+ set disabled ( value : boolean ) {
209
209
this . _disabled = value ;
210
210
211
- toggleClass ( this . element , 'dv-splitview-locked ' , value ) ;
211
+ toggleClass ( this . element , 'dv-splitview-disabled ' , value ) ;
212
212
}
213
213
214
214
constructor (
You can’t perform that action at this time.
0 commit comments