Skip to content

Commit

Permalink
πŸ”€ Merge pull request #586 from ShawnZhong/range
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 authored Oct 4, 2024
2 parents 6320ea1 + aee5fdd commit 50b6ec9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ struct CustomActionConfigurationView: View {
action.xPoint = $0
}
),
sliderRange: action.unit != .percentage ?
sliderRange: action.unit == .percentage ?
0...100 :
0...Double(screenSize.width),
suffix: .init(action.unit?.suffix ?? CustomWindowActionUnit.percentage.suffix),
Expand All @@ -228,7 +228,7 @@ struct CustomActionConfigurationView: View {
action.yPoint = $0
}
),
sliderRange: action.unit != .percentage ?
sliderRange: action.unit == .percentage ?
0...100 :
0...Double(screenSize.height),
suffix: .init(action.unit?.suffix ?? CustomWindowActionUnit.percentage.suffix),
Expand Down

0 comments on commit 50b6ec9

Please sign in to comment.