Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Zyxil on October 22, 2016, 04:27:09 PM
Title:
Small Bug in UIPopupList
Post by:
Zyxil
on
October 22, 2016, 04:27:09 PM
If your popup list is on a panel that has a changed sorting order, the created panel will appear on sorting order 0.
I added this just after panel creation at ~903:
mChild
.
GetComponent
<
UIPanel
>
(
)
.
sortingOrder
=
NGUITools
.
FindInParents
<
UIPanel
>
(
gameObject
)
.
sortingOrder
;
Title:
Re: Small Bug in UIPopupList
Post by:
ArenMook
on
October 24, 2016, 06:55:37 AM
It can just be
panel
.
sortingOrder
=
mPanel
.
sortingOrder
;
but thanks for pointing this out.