Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: xerohuang on August 25, 2014, 04:25:35 AM
Title:
Bug 3.7.1 UIDragDropItem when cloneOnDrag
Post by:
xerohuang
on
August 25, 2014, 04:25:35 AM
UIDragDropItem
"mDragging = true;" in StartDragging() but lost changing when cloneOnDrag.
My fix:
protected
virtual
void
StartDragging
(
)
{
if
(
!
mDragging
)
{
mDragging
=
true
;
if
(
cloneOnDrag
)
{
//...
//...
//...
item
.
Start
(
)
;
//fix:
item
.
mDragging
=
true
;
mDragging
=
false
;
item
.
OnDragDropStart
(
)
;
}
else
OnDragDropStart
(
)
;
}
}
Title:
Re: Bug 3.7.1 UIDragDropItem when cloneOnDrag
Post by:
ArenMook
on
August 26, 2014, 02:02:45 AM
Thanks!