fix maximized

pull/5193/head
yann300 5 months ago committed by Aniket
parent d1e13293f2
commit d7a45c76f8
  1. 6
      apps/remix-ide/src/app/panels/layout.ts

@ -31,8 +31,10 @@ export class Layout extends Plugin {
event: any
panels: panels
enhanced: { [key: string]: boolean }
maximized: { [key: string]: boolean }
constructor () {
super(profile)
this.maximized = {}
this.enhanced = {
'dgit': true,
'LearnEth': true
@ -129,13 +131,13 @@ export class Layout extends Plugin {
async maximiseSidePanel () {
const current = await this.call('sidePanel', 'currentFocus')
this.enhanced[current] = true
this.maximized[current] = true
this.event.emit('maximisesidepanel')
}
async maximisePinnedPanel () {
const current = await this.call('pinnedPanel', 'currentFocus')
this.enhanced[current] = true
this.maximized[current] = true
this.event.emit('maximisepinnedpanel')
}

Loading…
Cancel
Save