Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/editor-skeleton/src/layouts/workbench.less
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ body {
align-items: center;
.lc-title {
flex-direction: column;
width: 46px;
width: calc(var(--left-area-width) - 2px);
height: 46px;
display: flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion packages/shell/src/api/setters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Setters implements IPublicApiSetters {
const workspace = globalContext.get('workspace');
if (workspace.isActive) {
return untracked(() => {
if (!workspace.window.innerSetters) {
if (!workspace.window?.innerSetters) {
logger.error('setter api 调用时机出现问题,请检查');
return this[innerSettersSymbol];
}
Expand Down
2 changes: 1 addition & 1 deletion packages/shell/src/api/skeleton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class Skeleton implements IPublicApiSkeleton {
}
const workspace = globalContext.get('workspace');
if (workspace.isActive) {
if (!workspace.window.innerSkeleton) {
if (!workspace.window?.innerSkeleton) {
logger.error('skeleton api 调用时机出现问题,请检查');
return this[innerSkeletonSymbol];
}
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/src/layouts/workbench.less
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ body {
align-items: center;
.lc-title {
flex-direction: column;
width: 46px;
width: calc(var(--left-area-width) - 2px);
height: 46px;
display: flex;
align-items: center;
Expand Down