Support click events on movie clips containing text fields (#9995)
Remove code that prevents click events from working on text fields within movie clips
This commit is contained in:
parent
3a8ee003e4
commit
1deebc87e8
|
@ -2974,11 +2974,6 @@ impl<'gc> TInteractiveObject<'gc> for MovieClip<'gc> {
|
|||
continue;
|
||||
}
|
||||
|
||||
// Clicking static text is ignored
|
||||
if matches!(child, DisplayObject::Text(_)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
let mut res = if let Some(child) = child.as_interactive() {
|
||||
child.mouse_pick_avm2(context, point, require_button_mode)
|
||||
} else if child.as_interactive().is_none()
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
[
|
||||
{
|
||||
"type": "MouseDown",
|
||||
"pos": [41.0, 184.0],
|
||||
"btn": "Left"
|
||||
}
|
||||
]
|
|
@ -0,0 +1 @@
|
|||
Hello world!
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
num_frames = 1
|
Loading…
Reference in New Issue