Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
c7028802
Unverified
Commit
c7028802
authored
Jan 20, 2021
by
yann300
Committed by
GitHub
Jan 20, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #725 from ethereum/bunsenstraat-patch-1
changed focus methods
parents
262fdb8c
8f367ad1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
main-panel.js
apps/remix-ide/src/app/components/main-panel.js
+5
-0
side-panel.js
apps/remix-ide/src/app/components/side-panel.js
+1
-1
No files found.
apps/remix-ide/src/app/components/main-panel.js
View file @
c7028802
...
...
@@ -24,6 +24,11 @@ export class MainPanel extends AbstractPanel {
super
(
profile
)
}
focus
(
name
)
{
this
.
emit
(
'focusChanged'
,
name
)
super
.
focus
(
name
)
}
render
()
{
return
yo
`
<div class=
${
css
.
pluginsContainer
}
data-id="mainPanelPluginsContainer">
...
...
apps/remix-ide/src/app/components/side-panel.js
View file @
c7028802
...
...
@@ -92,6 +92,7 @@ export class SidePanel extends AbstractPanel {
focus
(
name
)
{
this
.
emit
(
'focusChanged'
,
name
)
super
.
focus
(
name
)
}
removeView
(
profile
)
{
...
...
@@ -112,7 +113,6 @@ export class SidePanel extends AbstractPanel {
async
showContent
(
name
)
{
super
.
showContent
(
name
)
this
.
renderHeader
()
this
.
focus
(
name
)
}
/** The header of the side panel */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment