Skip to content

Commit

Permalink
core: Implement setting tabChildren for AVM1 for debug UI
Browse files Browse the repository at this point in the history
  • Loading branch information
kjarosh committed Jun 5, 2024
1 parent 1418b6d commit 72c9042
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/display_object/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,8 @@ pub trait TDisplayObjectContainer<'gc>:
if context.swf.is_action_script_3() {
self.raw_container_mut(context.gc()).tab_children = value;
} else {
tracing::warn!("Trying to set tab_children on an AVM1 object, this has no effect")
let self_do: DisplayObject<'gc> = (*self).into();
self_do.set_avm1_property(context, "tabChildren", value.into());
}
}

Expand Down

0 comments on commit 72c9042

Please sign in to comment.