Improve animations and resizing again. Add option for animation speed.
This commit is contained in:
@@ -151,7 +151,7 @@ struct ContentView: View {
|
||||
}
|
||||
|
||||
private var sizeAnimation: Animation? {
|
||||
guard !vm.isUserResizing else { return nil }
|
||||
guard !vm.isUserResizing, !vm.isPresetResizing else { return nil }
|
||||
return vm.notchState == .open ? vm.openAnimation : vm.closeAnimation
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user