mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-24 17:53:03 +00:00
Fixed selection
This commit is contained in:
parent
da3b79eb19
commit
1189beed4c
1 changed files with 1 additions and 7 deletions
|
@ -35,13 +35,7 @@ void IHid<ListDirection, PageDirection, Delay>::update(size_t count)
|
|||
|
||||
mMaxPages = (count % mMaxVisibleEntries == 0) ? count / mMaxVisibleEntries : count / mMaxVisibleEntries + 1;
|
||||
|
||||
if (leftTriggerDown()) {
|
||||
pageBack();
|
||||
}
|
||||
else if (rightTriggerDown()) {
|
||||
pageForward();
|
||||
}
|
||||
else if (leftTriggerHeld()) {
|
||||
if (leftTriggerHeld()) {
|
||||
if (currentTime <= mLastTime + Delay) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue