Skip to content

Commit

Permalink
Update ShakeEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
Bone-Ash committed Jul 28, 2024
1 parent 1c3f873 commit 0ee91ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/GHG/Views/ShakeEffect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

import SwiftUI

public struct ShakeEffect: @preconcurrency GeometryEffect {
@preconcurrency
public struct ShakeEffect: GeometryEffect {
/// 震动的幅度
public var amount: CGFloat = 10
/// 每单位时间的震动次数
Expand Down

0 comments on commit 0ee91ac

Please sign in to comment.