QOL changes
added opening the source url, and opening playlist folders, fixed ugly icons
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ctqcbjrmxaqsk"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ctqcbjrmxaqsk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c3aaxhp0oim08" path="res://Scripts/search_item.gd" id="1_j4126"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwvy6crqhardn" path="res://Icons/Dropdown.png" id="2_hicj1"]
|
||||
[ext_resource type="Script" uid="uid://dd38vqi4220tx" path="res://Scripts/SongSource.cs" id="3_ftuau"]
|
||||
|
||||
[node name="SearchItem" type="Control"]
|
||||
[node name="SearchItem" type="Control" node_paths=PackedStringArray("soung_source")]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 3
|
||||
anchors_preset = 10
|
||||
@@ -12,6 +13,7 @@ grow_horizontal = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
script = ExtResource("1_j4126")
|
||||
soung_source = NodePath("Node")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(200, 32)
|
||||
@@ -43,11 +45,15 @@ icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="PopupMenu" type="PopupMenu" parent="."]
|
||||
size = Vector2i(116, 100)
|
||||
item_count = 2
|
||||
item_0/text = "DELETE"
|
||||
item_0/id = 0
|
||||
item_1/text = "open source"
|
||||
item_1/id = 1
|
||||
|
||||
[node name="Node" type="Node" parent="."]
|
||||
script = ExtResource("3_ftuau")
|
||||
|
||||
[connection signal="pressed" from="HBoxContainer/Songname" to="." method="_on_songname_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/Dropdown" to="." method="_on_dropdown_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user