Turned the widget scripts into tool scripts.

This commit is contained in:
Relintai 2021-10-17 00:58:07 +02:00
parent 7dfdf6c1ce
commit d23c7b00b8
6 changed files with 21 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
tool
extends ColorPickerButton
func get_drag_data(_position):

View File

@ -1,3 +1,4 @@
tool
extends LineEdit
export var value : float = 0.5 setget set_value

View File

@ -36,6 +36,7 @@ margin_right = 3.0
margin_bottom = 1.0
rect_min_size = Vector2( 3, 2 )
mouse_filter = 2
[connection signal="focus_entered" from="." to="." method="_on_FloatEdit_focus_entered"]
[connection signal="focus_exited" from="." to="." method="_on_LineEdit_focus_exited"]
[connection signal="gui_input" from="." to="." method="_on_LineEdit_gui_input"]

View File

@ -1,3 +1,4 @@
tool
extends Control
class GradientCursor:

View File

@ -1,3 +1,4 @@
tool
extends Popup
signal updated(value)