diff --git a/Sources/ColorWellKit/Utilities/Path.swift b/Sources/ColorWellKit/Utilities/Path.swift index 1e9c3b4..86e8c7e 100644 --- a/Sources/ColorWellKit/Utilities/Path.swift +++ b/Sources/ColorWellKit/Utilities/Path.swift @@ -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,