[DEBUG] correct scroll touch event
This commit is contained in:
parent
eff87a7f06
commit
6a36013460
@ -294,7 +294,7 @@ bool ewol::widget::Scroll::onEventInput(const ewol::event::Input& _event) {
|
|||||||
m_highSpeedStartPos.setValue(relativePos.x(), relativePos.y());
|
m_highSpeedStartPos.setValue(relativePos.x(), relativePos.y());
|
||||||
EWOL_VERBOSE("SCROOL == > INIT pos=" << m_highSpeedStartPos << " && curent scrollOffset=" << scrollOffset);
|
EWOL_VERBOSE("SCROOL == > INIT pos=" << m_highSpeedStartPos << " && curent scrollOffset=" << scrollOffset);
|
||||||
return true;
|
return true;
|
||||||
} else if (ewol::key::statusUp == _event.getStatus()) {
|
} else if (ewol::key::statusUpAfter == _event.getStatus()) {
|
||||||
m_highSpeedMode = speedModeDisable;
|
m_highSpeedMode = speedModeDisable;
|
||||||
m_highSpeedType = ewol::key::typeUnknow;
|
m_highSpeedType = ewol::key::typeUnknow;
|
||||||
EWOL_VERBOSE("SCROOL == > DISABLE");
|
EWOL_VERBOSE("SCROOL == > DISABLE");
|
||||||
@ -334,6 +334,9 @@ bool ewol::widget::Scroll::onEventInput(const ewol::event::Input& _event) {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (m_highSpeedMode == speedModeEnableFinger) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
} else if ( m_highSpeedMode != speedModeDisable
|
} else if ( m_highSpeedMode != speedModeDisable
|
||||||
&& ewol::key::statusLeave == _event.getStatus()) {
|
&& ewol::key::statusLeave == _event.getStatus()) {
|
||||||
m_highSpeedMode = speedModeDisable;
|
m_highSpeedMode = speedModeDisable;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user