StablexUI
StablexUI copied to clipboard
invisible views still detected at android..
I've noticed that I get widgets at invisible views of ViewStack by:
var objects:Array<Dynamic> = stage.getObjectsUnderPoint(new Point(stage.mouseX, stage.mouseY));
objects will contain invisible widgets!
I've fixed it by this gist: https://gist.github.com/hopewise/8395147
Does this happen on flash and other targets? I'm not sure changing scale to zero is the best solution as it may affect transition animations. But it may be ok in your case.
It happens only on android.. I think it would be better to remove the child instead of visible it false.. you will need s Map to keep references then, as you depend on child index.. On Jan 13, 2014 11:29 AM, "Alexander Kuzmenko" [email protected] wrote:
Does this happen on flash and other targets? I'm not sure changing scale to zero is the best solution as it may affect transition animations. But it may be ok in your case.
— Reply to this email directly or view it on GitHubhttps://github.com/RealyUniqueName/StablexUI/issues/111#issuecomment-32154585 .
I have noticed that when scroll by drag then scroll by scroll bar before end of scroll tweeting, strange scrolling happens? On Jan 13, 2014 11:31 AM, "Samir Sabri" [email protected] wrote:
It happens only on android.. I think it would be better to remove the child instead of visible it false.. you will need s Map to keep references then, as you depend on child index.. On Jan 13, 2014 11:29 AM, "Alexander Kuzmenko" [email protected] wrote:
Does this happen on flash and other targets? I'm not sure changing scale to zero is the best solution as it may affect transition animations. But it may be ok in your case.
— Reply to this email directly or view it on GitHubhttps://github.com/RealyUniqueName/StablexUI/issues/111#issuecomment-32154585 .
So, drag scroll tweening effect interfere with scroll of hBar, vBar? Hiw to fix this? Your support is highly appreciated! On Jan 13, 2014 9:55 PM, "Samir Sabri" [email protected] wrote:
I have noticed that when scroll by drag then scroll by scroll bar before end of scroll tweeting, strange scrolling happens? On Jan 13, 2014 11:31 AM, "Samir Sabri" [email protected] wrote:
It happens only on android.. I think it would be better to remove the child instead of visible it false.. you will need s Map to keep references then, as you depend on child index.. On Jan 13, 2014 11:29 AM, "Alexander Kuzmenko" [email protected] wrote:
Does this happen on flash and other targets? I'm not sure changing scale to zero is the best solution as it may affect transition animations. But it may be ok in your case.
— Reply to this email directly or view it on GitHubhttps://github.com/RealyUniqueName/StablexUI/issues/111#issuecomment-32154585 .
I can't reproduce any strange behavior. Perhaps some parts of your code affects scrolling?
In any case, how would I stop tweening when I start scrolling using scroll bars? I tried to stop tweening like: this.tweenStop(["scrollX", "scrollY"], false, true);
but, didn't work
Its important that I can optionally set dragScroll while working, think about this scenario:
User can drag drop components over board ( dragScroll must be false here ), but if user drag the board, he can drag it ( dragScroll is set to true )
What do you suggest based on my gist: https://gist.github.com/hopewise/8385606 ? what I did to solve scroll conflicts of tweening is to stop the tweening feature, which is sad to lose ..
On Tue, Jan 14, 2014 at 12:27 PM, Alexander Kuzmenko < [email protected]> wrote:
I can't reproduce any strange behavior. Perhaps some parts of your code affects scrolling?
— Reply to this email directly or view it on GitHubhttps://github.com/RealyUniqueName/StablexUI/issues/111#issuecomment-32249727 .
Kind Regards,
Samir Sabri Software Architect& Developer www.dcaclab.com Jordan-Middle East