Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: skalexey on July 22, 2017, 05:49:56 AM

Title: Zooming when click
Post by: skalexey on July 22, 2017, 05:49:56 AM
I have just downloaded and installed the last unity 2017.1.0f3 and the last NGUI. I created several scenes and always have this annoying effect: all is zooming in for several msecs when I click on any point of screen. Video attached: https://drive.google.com/file/d/0B95QaQDeO_wdWEMxeEd0Nk5RQnc/view?usp=sharing (https://drive.google.com/file/d/0B95QaQDeO_wdWEMxeEd0Nk5RQnc/view?usp=sharing)
Title: Re: Zooming when click
Post by: ArenMook on July 22, 2017, 02:59:59 PM
It's an OSX bug related to the editor's retina support that has existed since Unity ~5.4 or so. Check NGUITools, line 1998. There is commented out code there. Basically that code works one way on retina devices and another way on non-retina, so fix for one breaks the other. For you, it's obviously the other that will work so uncomment what's commented.
Title: Re: Zooming when click
Post by: skalexey on July 23, 2017, 02:28:20 PM
Thanks a bunch. It helped.