mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-06-06 02:46:49 +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)
|
, focus_(false)
|
||||||
, itemIndex_(0)
|
, itemIndex_(0)
|
||||||
, componentIndex_(0)
|
, componentIndex_(0)
|
||||||
|
, selectedOffsetIndex_(0)
|
||||||
, scrollStopRequested_(true)
|
, scrollStopRequested_(true)
|
||||||
, notifyAllRequested_(false)
|
, notifyAllRequested_(false)
|
||||||
, currentScrollDirection_(ScrollDirectionIdle)
|
, currentScrollDirection_(ScrollDirectionIdle)
|
||||||
@@ -77,6 +78,7 @@ ScrollingList::ScrollingList(const ScrollingList ©)
|
|||||||
, focus_(false)
|
, focus_(false)
|
||||||
, itemIndex_(0)
|
, itemIndex_(0)
|
||||||
, componentIndex_(0)
|
, componentIndex_(0)
|
||||||
|
, selectedOffsetIndex_(copy.selectedOffsetIndex_)
|
||||||
, scrollStopRequested_(true)
|
, scrollStopRequested_(true)
|
||||||
, notifyAllRequested_(false)
|
, notifyAllRequested_(false)
|
||||||
, currentScrollDirection_(ScrollDirectionIdle)
|
, currentScrollDirection_(ScrollDirectionIdle)
|
||||||
|
|||||||
Reference in New Issue
Block a user