Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Sources/ColorWellKit/Utilities/Path.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ struct Path {
) -> Path {
// flatten the opposite edge to join up with the
// segment on the other side
let flatEdge = segmentType.edge?.opposite
var flatEdge = segmentType.edge?.opposite
if NSApp.userInterfaceLayoutDirection == .rightToLeft {
flatEdge = segmentType.edge
}
return colorWellPath(
rect: rect,
controlSize: controlSize,
Expand Down