We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a61cf commit be51956Copy full SHA for be51956
apps/remix-ide/src/app/components/vertical-icons.tsx
@@ -16,6 +16,8 @@ const profile = {
16
events: ['toggleContent', 'showContent']
17
}
18
19
+const toMaximize = ['LearnEth']
20
+
21
export class VerticalIcons extends Plugin {
22
events: EventEmitter
23
htmlElement: HTMLDivElement
@@ -106,6 +108,11 @@ export class VerticalIcons extends Plugin {
106
108
// TODO: Only keep `this.emit` (issue#2210)
107
109
this.emit('showContent', name)
110
this.events.emit('showContent', name)
111
+ if (toMaximize.includes(name)) {
112
+ setTimeout(_ => {
113
+ this.call('layout', 'maximiseSidePanel')
114
+ }, 500)
115
+ }
116
117
118
/**
0 commit comments