Skip to content

Commit ff44af5

Browse files
authored
Merge pull request #3022 from entrylabs/issue/10064
[#10064] 어시스트 모드에서 블록매뉴 기본닫힘, 캔버스 가로길이 수정
2 parents 4461805 + 6170aa4 commit ff44af5

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

src/class/playground.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,11 @@ Entry.Playground = class Playground {
6464
this.generateTabView(tabView);
6565
this.tabView_ = tabView;
6666

67-
if (!Entry.aiAssistantEnable) {
68-
const tabButtonView = Entry.createElement('div', 'entryButtonTab')
69-
.addClass('entryPlaygroundButtonTabWorkspace')
70-
.appendTo(this.view_);
71-
this.tabButtonView_ = tabButtonView;
72-
this.createButtonTabView(tabButtonView);
73-
}
67+
const tabButtonView = Entry.createElement('div', 'entryButtonTab')
68+
.addClass('entryPlaygroundButtonTabWorkspace')
69+
.appendTo(this.view_);
70+
this.tabButtonView_ = tabButtonView;
71+
this.createButtonTabView(tabButtonView);
7472

7573
const curtainView = Entry.createElement('div', 'entryCurtain')
7674
.addClass('entryPlaygroundCurtainWorkspace entryRemove')

src/util/init.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,11 @@ Entry.createDom = function (container, type) {
365365
this.sceneView = sceneView;
366366
this.scene.generateView(this.sceneView, type);
367367

368-
if (!Entry.aiAssistantEnable) {
369-
const blockCountViewerView = Entry.createElement('div');
370-
blockCountViewerView.addClass('entryBlockCountView');
371-
topFloatingView.appendChild(blockCountViewerView);
372-
this.blockCountViewerView = blockCountViewerView;
373-
this.blockCountViewer.generateView(this.blockCountViewerView, type);
374-
}
368+
const blockCountViewerView = Entry.createElement('div');
369+
blockCountViewerView.addClass('entryBlockCountView');
370+
topFloatingView.appendChild(blockCountViewerView);
371+
this.blockCountViewerView = blockCountViewerView;
372+
this.blockCountViewer.generateView(this.blockCountViewerView, type);
375373

376374
const stateManagerView = Entry.createElement('div');
377375
this.sceneView.appendChild(stateManagerView);

0 commit comments

Comments
 (0)