Skip to content

Commit 03ba4fc

Browse files
committed
Make some demos work again, reimport
1 parent dabd28c commit 03ba4fc

34 files changed

+823
-494
lines changed

gui/drag_and_drop/drag_and_drop.tscn

Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
[ext_resource path="res://drag_drop_script.gd" type="Script" id=1]
44

5-
[node name="Control" type="Control"]
5+
[node name="Control" type="Control" index="0"]
66

77
anchor_left = 0.0
88
anchor_top = 0.0
99
anchor_right = 1.0
1010
anchor_bottom = 1.0
1111
rect_pivot_offset = Vector2( 0, 0 )
12-
rect_clip_content = false
1312
mouse_filter = 0
13+
mouse_default_cursor_shape = 0
1414
size_flags_horizontal = 2
1515
size_flags_vertical = 2
1616
__meta__ = {
1717
"__editor_plugin_screen__": "2D"
1818
}
1919

20-
[node name="ColorPickerButton0" type="ColorPickerButton" parent="."]
20+
[node name="ColorPickerButton0" type="ColorPickerButton" parent="." index="0"]
2121

2222
anchor_left = 0.0
2323
anchor_top = 0.0
@@ -28,20 +28,22 @@ margin_top = 64.0
2828
margin_right = 160.0
2929
margin_bottom = 128.0
3030
rect_pivot_offset = Vector2( 0, 0 )
31-
rect_clip_content = false
31+
focus_mode = 2
3232
mouse_filter = 0
33+
mouse_default_cursor_shape = 0
3334
size_flags_horizontal = 2
3435
size_flags_vertical = 2
3536
toggle_mode = false
3637
enabled_focus_mode = 2
3738
shortcut = null
3839
group = null
3940
flat = false
41+
align = 1
4042
color = Color( 0.671032, 0.605183, 0, 1 )
4143
edit_alpha = true
4244
script = ExtResource( 1 )
4345

44-
[node name="ColorPickerButton1" type="ColorPickerButton" parent="."]
46+
[node name="ColorPickerButton1" type="ColorPickerButton" parent="." index="1"]
4547

4648
anchor_left = 0.0
4749
anchor_top = 0.0
@@ -52,20 +54,22 @@ margin_top = 64.0
5254
margin_right = 320.0
5355
margin_bottom = 128.0
5456
rect_pivot_offset = Vector2( 0, 0 )
55-
rect_clip_content = false
57+
focus_mode = 2
5658
mouse_filter = 0
59+
mouse_default_cursor_shape = 0
5760
size_flags_horizontal = 2
5861
size_flags_vertical = 2
5962
toggle_mode = false
6063
enabled_focus_mode = 2
6164
shortcut = null
6265
group = null
6366
flat = false
67+
align = 1
6468
color = Color( 0, 0.797347, 0.741037, 1 )
6569
edit_alpha = true
6670
script = ExtResource( 1 )
6771

68-
[node name="ColorPickerButton2" type="ColorPickerButton" parent="."]
72+
[node name="ColorPickerButton2" type="ColorPickerButton" parent="." index="2"]
6973

7074
anchor_left = 0.0
7175
anchor_top = 0.0
@@ -76,20 +80,22 @@ margin_top = 64.0
7680
margin_right = 480.0
7781
margin_bottom = 128.0
7882
rect_pivot_offset = Vector2( 0, 0 )
79-
rect_clip_content = false
83+
focus_mode = 2
8084
mouse_filter = 0
85+
mouse_default_cursor_shape = 0
8186
size_flags_horizontal = 2
8287
size_flags_vertical = 2
8388
toggle_mode = false
8489
enabled_focus_mode = 2
8590
shortcut = null
8691
group = null
8792
flat = false
93+
align = 1
8894
color = Color( 0.443924, 0, 0.632923, 1 )
8995
edit_alpha = true
9096
script = ExtResource( 1 )
9197

92-
[node name="ColorPickerButton3" type="ColorPickerButton" parent="."]
98+
[node name="ColorPickerButton3" type="ColorPickerButton" parent="." index="3"]
9399

94100
anchor_left = 0.0
95101
anchor_top = 0.0
@@ -100,20 +106,22 @@ margin_top = 160.0
100106
margin_right = 160.0
101107
margin_bottom = 224.0
102108
rect_pivot_offset = Vector2( 0, 0 )
103-
rect_clip_content = false
109+
focus_mode = 2
104110
mouse_filter = 0
111+
mouse_default_cursor_shape = 0
105112
size_flags_horizontal = 2
106113
size_flags_vertical = 2
107114
toggle_mode = false
108115
enabled_focus_mode = 2
109116
shortcut = null
110117
group = null
111118
flat = false
119+
align = 1
112120
color = Color( 1, 1, 1, 1 )
113121
edit_alpha = true
114122
script = ExtResource( 1 )
115123

116-
[node name="ColorPickerButton4" type="ColorPickerButton" parent="."]
124+
[node name="ColorPickerButton4" type="ColorPickerButton" parent="." index="4"]
117125

118126
anchor_left = 0.0
119127
anchor_top = 0.0
@@ -124,20 +132,22 @@ margin_top = 160.0
124132
margin_right = 320.0
125133
margin_bottom = 224.0
126134
rect_pivot_offset = Vector2( 0, 0 )
127-
rect_clip_content = false
135+
focus_mode = 2
128136
mouse_filter = 0
137+
mouse_default_cursor_shape = 0
129138
size_flags_horizontal = 2
130139
size_flags_vertical = 2
131140
toggle_mode = false
132141
enabled_focus_mode = 2
133142
shortcut = null
134143
group = null
135144
flat = false
145+
align = 1
136146
color = Color( 1, 0.933842, 0, 1 )
137147
edit_alpha = true
138148
script = ExtResource( 1 )
139149

140-
[node name="ColorPickerButton5" type="ColorPickerButton" parent="."]
150+
[node name="ColorPickerButton5" type="ColorPickerButton" parent="." index="5"]
141151

142152
anchor_left = 0.0
143153
anchor_top = 0.0
@@ -148,20 +158,22 @@ margin_top = 160.0
148158
margin_right = 480.0
149159
margin_bottom = 224.0
150160
rect_pivot_offset = Vector2( 0, 0 )
151-
rect_clip_content = false
161+
focus_mode = 2
152162
mouse_filter = 0
163+
mouse_default_cursor_shape = 0
153164
size_flags_horizontal = 2
154165
size_flags_vertical = 2
155166
toggle_mode = false
156167
enabled_focus_mode = 2
157168
shortcut = null
158169
group = null
159170
flat = false
171+
align = 1
160172
color = Color( 0.287293, 0.886362, 0.122933, 1 )
161173
edit_alpha = true
162174
script = ExtResource( 1 )
163175

164-
[node name="ColorPickerButton6" type="ColorPickerButton" parent="."]
176+
[node name="ColorPickerButton6" type="ColorPickerButton" parent="." index="6"]
165177

166178
anchor_left = 0.0
167179
anchor_top = 0.0
@@ -172,20 +184,22 @@ margin_top = 256.0
172184
margin_right = 160.0
173185
margin_bottom = 320.0
174186
rect_pivot_offset = Vector2( 0, 0 )
175-
rect_clip_content = false
187+
focus_mode = 2
176188
mouse_filter = 0
189+
mouse_default_cursor_shape = 0
177190
size_flags_horizontal = 2
178191
size_flags_vertical = 2
179192
toggle_mode = false
180193
enabled_focus_mode = 2
181194
shortcut = null
182195
group = null
183196
flat = false
197+
align = 1
184198
color = Color( 0.908461, 0, 0.88789, 1 )
185199
edit_alpha = true
186200
script = ExtResource( 1 )
187201

188-
[node name="ColorPickerButton7" type="ColorPickerButton" parent="."]
202+
[node name="ColorPickerButton7" type="ColorPickerButton" parent="." index="7"]
189203

190204
anchor_left = 0.0
191205
anchor_top = 0.0
@@ -196,20 +210,22 @@ margin_top = 256.0
196210
margin_right = 320.0
197211
margin_bottom = 320.0
198212
rect_pivot_offset = Vector2( 0, 0 )
199-
rect_clip_content = false
213+
focus_mode = 2
200214
mouse_filter = 0
215+
mouse_default_cursor_shape = 0
201216
size_flags_horizontal = 2
202217
size_flags_vertical = 2
203218
toggle_mode = false
204219
enabled_focus_mode = 2
205220
shortcut = null
206221
group = null
207222
flat = false
223+
align = 1
208224
color = Color( 0, 0.283703, 0, 1 )
209225
edit_alpha = true
210226
script = ExtResource( 1 )
211227

212-
[node name="ColorPickerButton8" type="ColorPickerButton" parent="."]
228+
[node name="ColorPickerButton8" type="ColorPickerButton" parent="." index="8"]
213229

214230
anchor_left = 0.0
215231
anchor_top = 0.0
@@ -220,20 +236,22 @@ margin_top = 256.0
220236
margin_right = 480.0
221237
margin_bottom = 320.0
222238
rect_pivot_offset = Vector2( 0, 0 )
223-
rect_clip_content = false
239+
focus_mode = 2
224240
mouse_filter = 0
241+
mouse_default_cursor_shape = 0
225242
size_flags_horizontal = 2
226243
size_flags_vertical = 2
227244
toggle_mode = false
228245
enabled_focus_mode = 2
229246
shortcut = null
230247
group = null
231248
flat = false
249+
align = 1
232250
color = Color( 0, 0, 0.178211, 1 )
233251
edit_alpha = true
234252
script = ExtResource( 1 )
235253

236-
[node name="Label" type="Label" parent="."]
254+
[node name="Label" type="Label" parent="." index="9"]
237255

238256
anchor_left = 0.0
239257
anchor_top = 0.0
@@ -244,8 +262,8 @@ margin_top = 11.0
244262
margin_right = 470.0
245263
margin_bottom = 24.0
246264
rect_pivot_offset = Vector2( 0, 0 )
247-
rect_clip_content = false
248265
mouse_filter = 2
266+
mouse_default_cursor_shape = 0
249267
size_flags_horizontal = 2
250268
size_flags_vertical = 0
251269
text = "Drag colors from button to button, or change button colors and drag them again."

0 commit comments

Comments
 (0)