mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Support for Sonoma and possibly Intel Macs
This commit is contained in:
parent
0eaa9bc1e0
commit
419398ecb2
5 changed files with 6 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ struct HoverButton: View {
|
|||
.font(scale == .large ? .largeTitle : .body)
|
||||
|
||||
if case .wiggle = pressEffect {
|
||||
if #available(macOS 14.0, *) {
|
||||
if #available(macOS 15.0, *) {
|
||||
baseImage
|
||||
.symbolEffect(
|
||||
.wiggle.byLayer,
|
||||
|
|
|
|||
|
|
@ -925,7 +925,7 @@ private struct PanelControlButton: View {
|
|||
base.contentTransition(.symbolEffect(.replace))
|
||||
}
|
||||
case .wiggle:
|
||||
if #available(macOS 14.0, *) {
|
||||
if #available(macOS 15.0, *) {
|
||||
base
|
||||
.contentTransition(.symbolEffect(.replace))
|
||||
.symbolEffect(.wiggle.byLayer, options: .nonRepeating, value: wiggleToken)
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ private struct FloatingMediaButton: View {
|
|||
return AnyView(image)
|
||||
}
|
||||
case .wiggle:
|
||||
if #available(macOS 14.0, *) {
|
||||
if #available(macOS 15.0, *) {
|
||||
return AnyView(
|
||||
image.symbolEffect(
|
||||
.wiggle.byLayer,
|
||||
|
|
|
|||
|
|
@ -1057,7 +1057,7 @@ private struct MinimalisticSquircircleButton: View {
|
|||
image
|
||||
}
|
||||
case .wiggle:
|
||||
if #available(macOS 14.0, *) {
|
||||
if #available(macOS 15.0, *) {
|
||||
image.symbolEffect(
|
||||
.wiggle.byLayer,
|
||||
options: .nonRepeating,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue