Restore auto-panning that #2443 had broken (#2562)

* Fix auto panning

* Clean up comments

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Mateo
2025-04-13 22:19:08 +00:00
committed by GitHub
co-authored by Keavon Chambers
parent b3d6be9618
commit c2a36ce981
3 changed files with 9 additions and 0 deletions
@@ -3,6 +3,7 @@ use crate::messages::prelude::*;
#[derive(PartialEq, Eq, Clone, Debug, serde::Serialize, serde::Deserialize, Hash)]
#[impl_message(Message, BroadcastMessage, TriggerEvent)]
pub enum BroadcastEvent {
/// Triggered by requestAnimationFrame in JS
AnimationFrame,
CanvasTransformed,
ToolAbort,