Skip to content

Commit 8283da6

Browse files
authored
Improve the range argument editor (#443)
* Change the range argument editor * Improve spinboxes functionality * Fix default values * Only allow going outside bounds with spinboxes and adjust slider range according to that
1 parent ae53798 commit 8283da6

File tree

7 files changed

+774
-169
lines changed

7 files changed

+774
-169
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@tool
2+
extends "res://addons/gaea/editor/range_slider.gd"
3+
4+
## A horizontal [RangeSlider] that goes from left ([member min_value]) to right ([member max_value]),
5+
## used to adjust a range by moving grabbers along a horizontal axis.
6+
7+
8+
func _init() -> void:
9+
_orientation = Orientation.HORIZONTAL
10+
super()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
uid://bmc1eienmo8tp

0 commit comments

Comments
 (0)