fix editing events on mac - they now reload on he fly

add search on mac
fix symbolspicker on mac
This commit is contained in:
neon443
2025-06-14 10:24:03 +01:00
parent 659f14d5a3
commit 6e5b7adbc4
5 changed files with 28 additions and 14 deletions

View File

@@ -13,7 +13,7 @@ import UIKit
import AppKit
#endif
struct ColorCodable: Codable, Equatable {
struct ColorCodable: Codable, Equatable, Hashable {
init(_ color: Color) {
var r: CGFloat = 0, g: CGFloat = 0, b: CGFloat = 0, a: CGFloat = 1

View File

@@ -24,7 +24,7 @@ import AppKit
// }
//}
struct Event: Identifiable, Codable, Equatable, Animatable {
struct Event: Identifiable, Codable, Equatable, Animatable, Hashable {
var id = UUID()
var name: String
var complete: Bool