This commit is contained in:
lizzie 2026-04-01 16:39:54 +00:00
parent a3d1871002
commit 8b514d39fe
6 changed files with 23 additions and 30 deletions

View file

@ -153,7 +153,6 @@ struct ControllerView: View {
motion.valueChangedHandler = { motion in
// Get current time
let currentTimestamp = Date().timeIntervalSince1970
let deltaTimestamp = Int32((currentTimestamp - lastTimestamp) * 1000) // Difference in milliseconds
// Update last timestamp
lastTimestamp = currentTimestamp