diff --git a/crates/notedeck_ui/src/note/mod.rs b/crates/notedeck_ui/src/note/mod.rs index 47c54667..1d683c44 100644 --- a/crates/notedeck_ui/src/note/mod.rs +++ b/crates/notedeck_ui/src/note/mod.rs @@ -760,7 +760,7 @@ fn note_hitbox_clicked( // Stash the dimensions of the note content so we can render the // hitbox in the next frame ui.ctx().data_mut(|d| { - d.insert_persisted(hitbox_id, note_rect.size()); + d.insert_temp(hitbox_id, note_rect.size()); }); // If there was an hitbox and it was clicked open the thread