mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add theme colors to touch dragger and fix touch dragger icon theme
This commit is contained in:
@@ -94,6 +94,15 @@
|
||||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="touch_dragger_color" data_type="color" type="Color" default="Color(1, 1, 1, 0.3)">
|
||||
The color of the touch dragger.
|
||||
</theme_item>
|
||||
<theme_item name="touch_dragger_hover_color" data_type="color" type="Color" default="Color(1, 1, 1, 0.6)">
|
||||
The color of the touch dragger when hovered.
|
||||
</theme_item>
|
||||
<theme_item name="touch_dragger_pressed_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The color of the touch dragger when pressed.
|
||||
</theme_item>
|
||||
<theme_item name="autohide" data_type="constant" type="int" default="1">
|
||||
Boolean value. If [code]1[/code] ([code]true[/code]), the grabber will hide automatically when it isn't under the cursor. If [code]0[/code] ([code]false[/code]), it's always visible. The [member dragger_visibility] must be [constant DRAGGER_VISIBLE].
|
||||
</theme_item>
|
||||
|
||||
Reference in New Issue
Block a user