mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 08:10:50 +01:00
[ion] Remove unused function and rename longRepetitionScrollSpeed
Change-Id: I11268eb34060c74eb8770ba0eb999f84737c76d8
This commit is contained in:
committed by
Émilie Feral
parent
70cd166da5
commit
af32f33141
@@ -12,7 +12,7 @@ ScrollableView::ScrollableView(Responder * parentResponder, View * view, ScrollV
|
||||
|
||||
bool ScrollableView::handleEvent(Ion::Events::Event event) {
|
||||
KDPoint translation = KDPointZero;
|
||||
KDCoordinate scrollStep = Ion::Events::longRepetitionScrollSpeed() * Metric::ScrollStep;
|
||||
KDCoordinate scrollStep = Ion::Events::repetitionFactor() * Metric::ScrollStep;
|
||||
if (event == Ion::Events::Left) {
|
||||
KDCoordinate movementToEdge = contentOffset().x();
|
||||
if (movementToEdge > 0) {
|
||||
|
||||
Reference in New Issue
Block a user