Polish and fix small bugs with tilt and zoom navigation

This commit is contained in:
Keavon Chambers
2024-04-28 02:13:18 -07:00
parent 6a1a145d19
commit 597c96a7db
12 changed files with 382 additions and 412 deletions

View File

@@ -30,7 +30,7 @@ impl MessageHandler<InputPreprocessorMessage, InputPreprocessorMessageData> for
// TODO: Extend this to multiple viewports instead of setting it to the value of this last loop iteration
self.viewport_bounds = bounds;
responses.add(NavigationMessage::TranslateCanvas { delta: DVec2::ZERO });
responses.add(NavigationMessage::CanvasPan { delta: DVec2::ZERO });
responses.add(FrontendMessage::TriggerViewportResize);
}
}