File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
editor-skeleton/src/layouts Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ body {
318318 align-items : center ;
319319 .lc-title {
320320 flex-direction : column ;
321- width : 46 px ;
321+ width : calc ( var ( --left-area-width ) - 2 px ) ;
322322 height : 46px ;
323323 display : flex ;
324324 align-items : center ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class Setters implements IPublicApiSetters {
1919 const workspace = globalContext . get ( 'workspace' ) ;
2020 if ( workspace . isActive ) {
2121 return untracked ( ( ) => {
22- if ( ! workspace . window . innerSetters ) {
22+ if ( ! workspace . window ? .innerSetters ) {
2323 logger . error ( 'setter api 调用时机出现问题,请检查' ) ;
2424 return this [ innerSettersSymbol ] ;
2525 }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export class Skeleton implements IPublicApiSkeleton {
2222 }
2323 const workspace = globalContext . get ( 'workspace' ) ;
2424 if ( workspace . isActive ) {
25- if ( ! workspace . window . innerSkeleton ) {
25+ if ( ! workspace . window ? .innerSkeleton ) {
2626 logger . error ( 'skeleton api 调用时机出现问题,请检查' ) ;
2727 return this [ innerSkeletonSymbol ] ;
2828 }
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ body {
276276 align-items : center ;
277277 .lc-title {
278278 flex-direction : column ;
279- width : 46 px ;
279+ width : calc ( var ( --left-area-width ) - 2 px ) ;
280280 height : 46px ;
281281 display : flex ;
282282 align-items : center ;
You can’t perform that action at this time.
0 commit comments