-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dee24aa
commit d440fe6
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# Sliders | ||
|
||
**Sliders** is a compilation of all my stylable drag based SwiftUI components. It provides a variety of unique controls as well as an enhanced version of the normal `Slider` called an `LSlider`. | ||
The various components are | ||
|
||
The various components are: | ||
* `LSlider` - a spatially adaptive slider that fits to its container at any angle you decide. | ||
* `RSlider` - A circularly shaped slider which restricts movement of the thumb to the radius of the circle | ||
* `OverflowSlider` - A meter like slider which has two moving components, the track and the thumb. Also has velocity based gestures implemented | ||
* `TrackPad` - A 2D version of a normal slider, which restricts displacement of the thumb to the bounds of the track | ||
* `RadialPad` - A joystick like component that does not reset the position of the thumb upon gesture end. | ||
* `Joystick` - an onscreen joystick that can appear anywhere the user drags within the defined hitbox, if the drag ends inside the lockbox, the joystick remains onscreen locked in the forward position. if the drag ends **not** inside the lockbox the joystick fades away until the hitbox is dragged again. |