Skip to content

Commit

Permalink
fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and bunsenstraat committed Jul 17, 2024
1 parent 604565e commit 9e6b800
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 9e6b800

Please sign in to comment.