Author Topic: UICenteronChild issue  (Read 2341 times)

Tashkent

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
UICenteronChild issue
« on: August 04, 2014, 08:54:31 PM »
Hello,

Since updating NGUI to 3.6.8, I’m having an issue with UICenteronChild.

When scrolling the mouse to the left and releasing, the screen centers fine, but when scrolling to the right, it gets stuck and does not center.

It worked fine on 3.6.0. Is this a bug on the new version?

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UICenteronChild issue
« Reply #1 on: August 05, 2014, 01:10:46 PM »
I'm not aware of any such issues. How can I reproduce it on my end using the scroll view example?

Tashkent

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: UICenteronChild issue
« Reply #2 on: August 05, 2014, 08:44:31 PM »
Thanks for your answer.

I've attached a powerpoint that will show the issue more clearly and how to reproduce it.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UICenteronChild issue
« Reply #3 on: August 06, 2014, 09:36:26 PM »
Hmm... you're right, it seems to have gotten broken at some point. I will fix it, thanks.

Tashkent

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: UICenteronChild issue
« Reply #4 on: August 06, 2014, 11:17:46 PM »
Ok thanks. I’ll wait for the update then.
Can you please write this fix in the release notes of the new update?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UICenteronChild issue
« Reply #5 on: August 07, 2014, 03:38:10 AM »
It's already in the Pro repository, and yes, it will be mentioned in the notes.