Merge pull request #99355 from havi05/itemlist-toggle-mode

Add `Toggle` selection mode to `ItemList`
This commit is contained in:
Rémi Verschelde
2024-12-14 18:25:25 +01:00
3 changed files with 23 additions and 6 deletions

View File

@@ -473,6 +473,9 @@
<constant name="SELECT_MULTI" value="1" enum="SelectMode">
Allows selecting multiple items by holding [kbd]Ctrl[/kbd] or [kbd]Shift[/kbd].
</constant>
<constant name="SELECT_TOGGLE" value="2" enum="SelectMode">
Allows selecting multiple items by toggling them on and off.
</constant>
</constants>
<theme_items>
<theme_item name="font_color" data_type="color" type="Color" default="Color(0.65, 0.65, 0.65, 1)">