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 2a44a1d commit 43c7416Copy full SHA for 43c7416
apps/remix-ide/src/app/panels/layout.ts
@@ -115,6 +115,21 @@ export class Layout extends Plugin {
115
}
116
})
117
118
+ this.on('rightSidePanel', 'rightSidePanelShown', async () => {
119
+ const current = await this.call('rightSidePanel', 'currentFocus')
120
+ if (this.enhanced[current]) {
121
+ this.event.emit('enhanceRightSidePanel')
122
+ }
123
+
124
+ if (this.maximized[current]) {
125
+ this.event.emit('maximiseRightSidePanel')
126
127
128
+ if (!this.enhanced[current] && !this.maximized[current]) {
129
+ this.event.emit('resetRightSidePanel')
130
131
+ })
132
133
document.addEventListener('keypress', e => {
134
if (e.shiftKey && e.ctrlKey) {
135
if (e.code === 'KeyF') {
0 commit comments