Skip to content

Commit 146ee8a

Browse files
danielhjacobsDinnerbone
authored andcommitted
avm1: Don't ignore mouse_pick on static text (fix ruffle-rs#9274)
1 parent 1847342 commit 146ee8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/display_object/movie_clip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ impl<'gc> TInteractiveObject<'gc> for MovieClip<'gc> {
27532753

27542754
for child in self.iter_render_list().rev() {
27552755
// Clicking static text is ignored
2756-
if matches!(child, DisplayObject::Text(_)) {
2756+
if context.is_action_script_3() && matches!(child, DisplayObject::Text(_)) {
27572757
continue;
27582758
}
27592759

0 commit comments

Comments
 (0)