improve entry tapping flash effect for cmd tool tableview cells

This commit is contained in:
True Zhuanjia committed 2024-07-26 21:57:38 +08:00
1 parent 19adb5e106
commit 95644075ec
1 file changed
+1 -1
@@ -263,7 +263,7 @@ import UIKit
// Set the cell background color to the flashing color // Set the cell background color to the flashing color
// Animate the flash effect // Animate the flash effect
UIView.animate(withDuration: 0.1, animations: { UIView.animate(withDuration: 0.1, animations: {
cell.selectedBackgroundView?.backgroundColor = self.viewBackgroundColor cell.selectedBackgroundView?.backgroundColor = .clear
}) { _ in }) { _ in
// Reset the cell background color after the animation // Reset the cell background color after the animation
UIView.animate(withDuration: 0.1) { UIView.animate(withDuration: 0.1) {