Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
2017-04-01 14:14:41 +0800
Commit
a4042e46de5a3ef95f801d68d19a313b21100e79
1 parent
6b4d1c51
收藏的商品滚动到中点优化 review by 盖剑秋
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
js/recorder/components/browse/CategorySelector.js
js/recorder/components/browse/CategorySelector.js
View file @
a4042e4
...
...
@@ -62,7 +62,7 @@ export default class CategorySelector extends Component {
}
let
scrollX
=
rowX
+
rowWidth
/
2
-
width
/
2
;
let
scrollX
=
rowX
+
rowWidth
/
2
-
width
/
2
+
5
;
this
.
listView
&&
this
.
listView
.
scrollTo
({
x
:
scrollX
,
y
:
0
,
animated
:
true
});
...
...
Please
register
or
login
to post a comment