Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaa committed Jan 19, 2024
1 parent 970f87d commit 14ab079
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SpatialClock/🛠️Setting/🛠️SettingButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ struct 🛠️SettingButton: View {
.fixedSize()
}
.glassBackgroundEffect()
.offset(y: 50)
.offset(z: self.model.presentSettingButton ? 50 : -20)
.offset(z: self.model.presentSettingButton ? 50 : 0)
.opacity(self.model.presentSettingButton ? 1 : 0)
.onChange(of: self.scenePhase) { _, newValue in
switch newValue {
Expand Down

0 comments on commit 14ab079

Please sign in to comment.