Apply suggestions from code review

develop
Myk 2023-04-23 18:40:24 -07:00 committed by GitHub
parent adeb872725
commit 276efc9813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

@ -49,7 +49,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
## API
## Lua
- ``widgets``: "Slider" class has been moved from ``filterselection.lua`` into ``widgets.lua`` and renamed to "RangeSlider"
- ``widgets.RangeSlider``: new mouse-controlled two-headed slider widget
## Removed

@ -5133,9 +5133,9 @@ widget does not require direct usage of ``Tab``.
RangeSlider class
-----------------
This widget implements a mouse-interactable range-slider. The user can move its two handles to set minimum and maximum values
This widget implements a mouse-interactable range-slider. The player can move its two handles to set minimum and maximum values
to define a range, or they can drag the bar itself to move both handles at once.
The handles mirror the state of its two parent ``CycleHotkeyLabels``.
The parent widget owns the range values, and can control them independently (e.g. with ``CycleHotkeyLabels``). If the range values change, the ``RangeSlider`` appearance will adjust automatically.
:num_stops: Used to specify the number of "notches" in the range slider, the places where handles can stop.
(this should match the parents' number of options)