File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff 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' )
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments