1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 00:09:15 +00:00

refactor: improve sudo error handling to distinguish authentication failures and adjust scene view rotation speed.

This commit is contained in:
Tw93
2025-12-15 15:09:40 +08:00
parent 4547f5819e
commit 4c18957aae
4 changed files with 55 additions and 11 deletions

View File

@@ -165,7 +165,7 @@ struct MoleSceneView: NSViewRepresentable {
// Slower, majestic rotation
// Auto Rotation Speed
// Slower, majestic rotation normally. Fast when working.
let baseRotation = parent.isRunning ? 0.05 : 0.002
let baseRotation = parent.isRunning ? 0.12 : 0.006
// Drag Influence
let dragInfluence = Double(parent.rotationVelocity.width) * 0.0005