mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-06 19:02:52 +02:00
Fixed another ScrollinList copy constructor issue (selecting wrong item)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user