Skip to content

Commit

Permalink
Merge pull request #10 from spacenation/tracks-accentcolor-fix
Browse files Browse the repository at this point in the history
Track accent color fix
  • Loading branch information
ay42 authored Mar 12, 2020
2 parents 61a47ef + 7892f19 commit 85ba689
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Sliders/Base/Range/HorizontalRangeTrack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct HorizontalRangeTrack<V, ValueView: View, MaskView: View>: View whe

public var body: some View {
GeometryReader { geometry in
self.view
self.view.accentColor(.accentColor)
.mask(
ZStack {
self.mask
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sliders/Base/Range/VerticalRangeTrack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct VerticalRangeTrack<V, ValueView: View, MaskView: View>: View where

public var body: some View {
GeometryReader { geometry in
self.view
self.view.accentColor(.accentColor)
.mask(
ZStack {
self.mask
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sliders/Base/Value/HorizontalValueTrack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct HorizontalValueTrack<V, ValueView: View, MaskView: View>: View whe

public var body: some View {
GeometryReader { geometry in
self.view
self.view.accentColor(.accentColor)
.mask(
ZStack {
self.mask
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sliders/Base/Value/VerticalValueTrack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct VerticalValueTrack<V, ValueView: View, MaskView: View>: View where

public var body: some View {
GeometryReader { geometry in
self.view
self.view.accentColor(.accentColor)
.mask(
ZStack {
self.mask
Expand Down

0 comments on commit 85ba689

Please sign in to comment.