push-pop / Unity-MVVM

Lightweight MVVM Framework for Unity3D
MIT License
328 stars 27 forks source link

CollectionViewBase onValidate should not set _src if it's already set #79

Open push-pop opened 3 years ago

push-pop commented 3 years ago

https://github.com/push-pop/Unity-MVVM/blob/9e3138d902e1182dceb8ada9b5f87e20b38d1dd9/Assets/Unity-MVVM/Scripts/View/CollectionViewBase.cs#L306

Should be if(_src == null) _src = GetComponent<CollectionViewSource>()