Skip to content

Commit

Permalink
fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jul 17, 2024
1 parent 4b47c10 commit 70a5291
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion apps/remix-ide/src/app/panels/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export class Layout extends Plugin {
maximised: { [key: string]: boolean }
constructor () {
super(profile)
this.maximised = {}
this.maximised = {
'dgit': true
}
this.event = new EventEmitter()
}

Expand Down
6 changes: 0 additions & 6 deletions libs/remix-ui/git/src/lib/listeners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,6 @@ export const setCallBacks = (viewPlugin: Plugin, gitDispatcher: React.Dispatch<g
setAtivePanel(panelNumber)
})

plugin.on('sidePanel', 'focusChanged', async (name: string) => {
if (name == 'dgit') {
plugin.call('layout', 'maximiseSidePanel')
}
})

callBackEnabled = true;
}

Expand Down

0 comments on commit 70a5291

Please sign in to comment.