Skip to content

Commit

Permalink
debug_ui: Fix 'AVM2 Root' always showing 'Self'
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian17 committed Nov 17, 2024
1 parent 18d1447 commit b7bc3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/debug_ui/display_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ impl DisplayObjectWindow {

ui.label("AVM2 Root");
if let Some(other) = object.avm2_root() {
if object.as_ptr() != object.as_ptr() {
if other.as_ptr() != object.as_ptr() {
open_display_object_button(
ui,
context,
Expand Down

0 comments on commit b7bc3d5

Please sign in to comment.