mirror of https://github.com/FabricMC/yarn.git
Fix the parameter of SliderWidget.setValue (#2570)
* Fix the parameter of SliderWidget.setValue * Fix format
This commit is contained in:
parent
1eee701121
commit
11f052803c
|
@ -9,7 +9,14 @@ CLASS net/minecraft/class_357 net/minecraft/client/gui/widget/SliderWidget
|
||||||
ARG 6 value
|
ARG 6 value
|
||||||
METHOD method_25344 applyValue ()V
|
METHOD method_25344 applyValue ()V
|
||||||
METHOD method_25345 setValueFromMouse (D)V
|
METHOD method_25345 setValueFromMouse (D)V
|
||||||
|
COMMENT Sets the value from mouse position.
|
||||||
|
COMMENT
|
||||||
|
COMMENT <p>The value will be calculated from the position and the width of this
|
||||||
|
COMMENT slider.
|
||||||
|
COMMENT
|
||||||
|
COMMENT @see #setValue
|
||||||
ARG 1 mouseX
|
ARG 1 mouseX
|
||||||
METHOD method_25346 updateMessage ()V
|
METHOD method_25346 updateMessage ()V
|
||||||
METHOD method_25347 setValue (D)V
|
METHOD method_25347 setValue (D)V
|
||||||
ARG 1 mouseX
|
ARG 1 value
|
||||||
|
COMMENT the new value; will be clamped to {@code [0, 1]}
|
||||||
|
|
Loading…
Reference in New Issue