Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.82k stars 821 forks source link

Touch on container with glow filter #985

Closed CrazyFlasher closed 5 years ago

CrazyFlasher commented 7 years ago

I have a Sprite with with TextField inside with glow filter. image TouchEvent added to container with TextField works fine. But if I cache this filter, there is a wierd touch behaviour. Looks like touch events are being dispatched twice, however only the top break point can be cached with debugger. If I comment this line:

_textField.filter = new GlowFilter(parseInt(glowFilter[0]), glowFilter[1], glowFilter[2], glowFilter[3]);
//_textField.filter.cache();

everything works as expected

PrimaryFeather commented 6 years ago

Hmhm, I just noticed that this report somehow slipped my attention. 😨 Is this still happening?

In theory, caching should have no influence whatsoever on touch behavior. 😕