mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-31 02:58:51 +01:00
Fixed another ScrollinList copy constructor issue (selecting wrong item)
This commit is contained in:
parent
1770efb200
commit
d1a45e650e
@ -52,6 +52,7 @@ ScrollingList::ScrollingList(Configuration &c,
|
||||
, focus_(false)
|
||||
, itemIndex_(0)
|
||||
, componentIndex_(0)
|
||||
, selectedOffsetIndex_(0)
|
||||
, scrollStopRequested_(true)
|
||||
, notifyAllRequested_(false)
|
||||
, currentScrollDirection_(ScrollDirectionIdle)
|
||||
@ -77,6 +78,7 @@ ScrollingList::ScrollingList(const ScrollingList ©)
|
||||
, focus_(false)
|
||||
, itemIndex_(0)
|
||||
, componentIndex_(0)
|
||||
, selectedOffsetIndex_(copy.selectedOffsetIndex_)
|
||||
, scrollStopRequested_(true)
|
||||
, notifyAllRequested_(false)
|
||||
, currentScrollDirection_(ScrollDirectionIdle)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user