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
12 changes: 5 additions & 7 deletions src/class/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,11 @@ Entry.Playground = class Playground {
this.generateTabView(tabView);
this.tabView_ = tabView;

if (!Entry.aiAssistantEnable) {
const tabButtonView = Entry.createElement('div', 'entryButtonTab')
.addClass('entryPlaygroundButtonTabWorkspace')
.appendTo(this.view_);
this.tabButtonView_ = tabButtonView;
this.createButtonTabView(tabButtonView);
}
const tabButtonView = Entry.createElement('div', 'entryButtonTab')
.addClass('entryPlaygroundButtonTabWorkspace')
.appendTo(this.view_);
this.tabButtonView_ = tabButtonView;
this.createButtonTabView(tabButtonView);

const curtainView = Entry.createElement('div', 'entryCurtain')
.addClass('entryPlaygroundCurtainWorkspace entryRemove')
Expand Down
12 changes: 5 additions & 7 deletions src/util/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,13 +365,11 @@ Entry.createDom = function (container, type) {
this.sceneView = sceneView;
this.scene.generateView(this.sceneView, type);

if (!Entry.aiAssistantEnable) {
const blockCountViewerView = Entry.createElement('div');
blockCountViewerView.addClass('entryBlockCountView');
topFloatingView.appendChild(blockCountViewerView);
this.blockCountViewerView = blockCountViewerView;
this.blockCountViewer.generateView(this.blockCountViewerView, type);
}
const blockCountViewerView = Entry.createElement('div');
blockCountViewerView.addClass('entryBlockCountView');
topFloatingView.appendChild(blockCountViewerView);
this.blockCountViewerView = blockCountViewerView;
this.blockCountViewer.generateView(this.blockCountViewerView, type);

const stateManagerView = Entry.createElement('div');
this.sceneView.appendChild(stateManagerView);
Expand Down