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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user