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
d68590b7
Commit
d68590b7
authored
Apr 26, 2017
by
yann300
Committed by
GitHub
Apr 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #493 from cdetrio/master
fix scrollTop in instruction list
parents
3069e36c
58ee75fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CodeListView.js
src/ui/CodeListView.js
+1
-1
No files found.
src/ui/CodeListView.js
View file @
d68590b7
...
@@ -50,7 +50,7 @@ CodeListView.prototype.indexChanged = function (index) {
...
@@ -50,7 +50,7 @@ CodeListView.prototype.indexChanged = function (index) {
if
(
this
.
itemSelected
.
firstChild
)
{
if
(
this
.
itemSelected
.
firstChild
)
{
this
.
itemSelected
.
firstChild
.
setAttribute
(
'style'
,
ui
.
formatCss
({
'margin-left'
:
'2px'
}))
this
.
itemSelected
.
firstChild
.
setAttribute
(
'style'
,
ui
.
formatCss
({
'margin-left'
:
'2px'
}))
}
}
this
.
codeView
.
scrollTop
=
this
.
itemSelected
.
offsetTop
-
parseInt
(
this
.
codeView
.
offset
Height
)
this
.
codeView
.
scrollTop
=
this
.
itemSelected
.
offsetTop
-
parseInt
(
this
.
codeView
.
offset
Top
)
}
}
}
}
...
...
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