Skip to content

Commit 66a6df7

Browse files
committed
AppKitBackend: Fix Color to NSColor conversion (missing alpha)
1 parent 5533e4a commit 66a6df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AppKitBackend/AppKitBackend.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ extension Color {
11971197
calibratedRed: CGFloat(red),
11981198
green: CGFloat(green),
11991199
blue: CGFloat(blue),
1200-
alpha: 1
1200+
alpha: CGFloat(alpha)
12011201
)
12021202
}
12031203
}

0 commit comments

Comments
 (0)