Append '.0' to all float variables
This commit is contained in:
parent
376896da1e
commit
2fd47666ba
2 changed files with 7 additions and 7 deletions
|
@ -19,10 +19,10 @@ script = ExtResource("1_dcfql")
|
||||||
modulate = Color(1, 1, 1, 0.501961)
|
modulate = Color(1, 1, 1, 0.501961)
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
offset_top = 226.417
|
offset_top = 226.417
|
||||||
offset_right = 366.417
|
offset_right = 366.42
|
||||||
offset_bottom = 246.667
|
offset_bottom = 246.667
|
||||||
theme = ExtResource("2_4lteo")
|
theme = ExtResource("2_4lteo")
|
||||||
max_value = 386.667
|
max_value = 386.67
|
||||||
step = 1.0
|
step = 1.0
|
||||||
page = 1.0
|
page = 1.0
|
||||||
|
|
||||||
|
|
|
@ -12,20 +12,20 @@ extends SuiBaseClass
|
||||||
## Determines how the scrolling speed should be calculated.
|
## Determines how the scrolling speed should be calculated.
|
||||||
@export var speed_mode: SuiTypes.ScrollMode = SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE
|
@export var speed_mode: SuiTypes.ScrollMode = SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE
|
||||||
## The speed multiplier, used for [constant SuiTypes.ScrollMode.MULTIPLY_VIEWPORT] and [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE].
|
## The speed multiplier, used for [constant SuiTypes.ScrollMode.MULTIPLY_VIEWPORT] and [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE].
|
||||||
@export var speed_multiplier: float = 1
|
@export var speed_multiplier: float = 1.0
|
||||||
## The speed value, used for [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE] and [constant SuiTypes.ScrollMode.CUSTOM_VALUE].
|
## The speed value, used for [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE] and [constant SuiTypes.ScrollMode.CUSTOM_VALUE].
|
||||||
@export var speed_value: float = 1
|
@export var speed_value: float = 1.0
|
||||||
@export_subgroup("Scroller speed (wheel)")
|
@export_subgroup("Scroller speed (wheel)")
|
||||||
## Determines how much the scrolling speed should be multiplied by when scrolling with the scroll wheel.
|
## Determines how much the scrolling speed should be multiplied by when scrolling with the scroll wheel.[br]
|
||||||
## Using a lower value results in more mouse scrolling, higher values result in less mouse scrolling.
|
## Using a lower value results in more mouse scrolling, higher values result in less mouse scrolling.
|
||||||
@export var speed_wheel_multiplier: float = 50
|
@export var speed_wheel_multiplier: float = 50.0
|
||||||
@export_subgroup("Scroll bar thickness")
|
@export_subgroup("Scroll bar thickness")
|
||||||
## Determines how the thickness of both scroll bars should be calculated.
|
## Determines how the thickness of both scroll bars should be calculated.
|
||||||
@export var thickness_mode: SuiTypes.ScrollMode = SuiTypes.ScrollMode.MULTIPLY_VIEWPORT
|
@export var thickness_mode: SuiTypes.ScrollMode = SuiTypes.ScrollMode.MULTIPLY_VIEWPORT
|
||||||
## The thickness multiplier, used for [constant SuiTypes.ScrollMode.MULTIPLY_VIEWPORT] and [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE].
|
## The thickness multiplier, used for [constant SuiTypes.ScrollMode.MULTIPLY_VIEWPORT] and [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE].
|
||||||
@export var thickness_multiplier: float = 0.025
|
@export var thickness_multiplier: float = 0.025
|
||||||
## The thickness value, used for [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE] and [constant SuiTypes.ScrollMode.CUSTOM_VALUE].
|
## The thickness value, used for [constant SuiTypes.ScrollMode.MULTIPLY_CUSTOM_VALUE] and [constant SuiTypes.ScrollMode.CUSTOM_VALUE].
|
||||||
@export var thickness_value: float = 0
|
@export var thickness_value: float = 0.0
|
||||||
@export_category("Debugging")
|
@export_category("Debugging")
|
||||||
## Will cause elements not inside the SuiScroller node to be no longer clipped [i]in editor mode[/i].
|
## Will cause elements not inside the SuiScroller node to be no longer clipped [i]in editor mode[/i].
|
||||||
## Useful when editing the contents of a SuiScroller node, but may cause visual chaos.
|
## Useful when editing the contents of a SuiScroller node, but may cause visual chaos.
|
||||||
|
|
Loading…
Reference in a new issue