-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fix event collapsing (hiding contained events) - improve look of collapsed events - simplify add-event button - add small mode for event button sidebar when to thin - save and restore event button sidebar size - modulate text input box - fix text input event name not being capitalized - fix bug when saving timelines in visual timeline editor - fix variable event "Variable Editor" button not working
- Loading branch information
1 parent
85c4036
commit 183b4f4
Showing
11 changed files
with
237 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 39 additions & 64 deletions
103
addons/dialogic/Editor/TimelineEditor/VisualEditor/AddEventButton.tscn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,46 @@ | ||
[gd_scene load_steps=3 format=3] | ||
[gd_scene load_steps=5 format=3 uid="uid://depcrpeh3f4rv"] | ||
|
||
[ext_resource type="Script" path="res://addons/dialogic/Editor/TimelineEditor/VisualEditor/AddEventButton.gd" id="1_s43sc"] | ||
|
||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ba8bn"] | ||
bg_color = Color(1, 1, 1, 1) | ||
corner_radius_top_left = 5 | ||
corner_radius_bottom_left = 5 | ||
[ext_resource type="Texture2D" uid="uid://bbqfq3s7qrduv" path="res://icon.svg" id="2_mncsv"] | ||
|
||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qx31r"] | ||
content_margin_left = 4.0 | ||
content_margin_top = 4.0 | ||
content_margin_right = 4.0 | ||
content_margin_bottom = 4.0 | ||
bg_color = Color(0.1, 0.1, 0.1, 0.6) | ||
border_width_left = 3 | ||
border_color = Color(0.231373, 0.545098, 0.94902, 1) | ||
corner_radius_top_left = 3 | ||
corner_radius_top_right = 3 | ||
corner_radius_bottom_right = 3 | ||
corner_radius_bottom_left = 3 | ||
corner_detail = 5 | ||
|
||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n1o16"] | ||
content_margin_left = 4.0 | ||
content_margin_top = 4.0 | ||
content_margin_right = 4.0 | ||
content_margin_bottom = 4.0 | ||
bg_color = Color(0.225, 0.225, 0.225, 0.6) | ||
border_width_left = 3 | ||
border_color = Color(0.231373, 0.545098, 0.94902, 1) | ||
corner_radius_top_left = 3 | ||
corner_radius_top_right = 3 | ||
corner_radius_bottom_right = 3 | ||
corner_radius_bottom_left = 3 | ||
corner_detail = 5 | ||
|
||
[node name="AddEventButton" type="Button"] | ||
custom_minimum_size = Vector2(60, 60) | ||
offset_right = 103.0 | ||
offset_bottom = 31.0 | ||
custom_minimum_size = Vector2(29.25, 22.5) | ||
offset_right = 97.0 | ||
offset_bottom = 42.0 | ||
theme_override_colors/font_color = Color(0, 0, 0, 1) | ||
text = " S" | ||
flat = true | ||
theme_override_styles/normal = SubResource("StyleBoxFlat_qx31r") | ||
theme_override_styles/hover = SubResource("StyleBoxFlat_n1o16") | ||
text = "S" | ||
icon = ExtResource("2_mncsv") | ||
alignment = 0 | ||
expand_icon = true | ||
script = ExtResource("1_s43sc") | ||
visible_name = "S" | ||
|
||
[node name="Border" type="Panel" parent="."] | ||
show_behind_parent = true | ||
layout_mode = 1 | ||
anchors_preset = 15 | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
mouse_filter = 2 | ||
|
||
[node name="Hbox" type="HBoxContainer" parent="."] | ||
layout_mode = 1 | ||
anchors_preset = 15 | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
grow_horizontal = 2 | ||
grow_vertical = 2 | ||
theme_override_constants/separation = 0 | ||
metadata/_edit_layout_mode = 1 | ||
|
||
[node name="ColorBorder" type="Panel" parent="Hbox"] | ||
unique_name_in_owner = true | ||
self_modulate = Color(0.635294, 0.635294, 0.635294, 0.282353) | ||
show_behind_parent = true | ||
custom_minimum_size = Vector2(10, 0) | ||
layout_mode = 2 | ||
offset_right = 10.0 | ||
offset_bottom = 60.0 | ||
mouse_filter = 2 | ||
theme_override_styles/panel = SubResource("StyleBoxFlat_ba8bn") | ||
|
||
[node name="IconContainer" type="MarginContainer" parent="Hbox"] | ||
unique_name_in_owner = true | ||
custom_minimum_size = Vector2(60, 60) | ||
layout_mode = 2 | ||
offset_left = 10.0 | ||
offset_right = 70.0 | ||
offset_bottom = 60.0 | ||
theme_override_constants/margin_left = 0 | ||
theme_override_constants/margin_top = 0 | ||
theme_override_constants/margin_right = 0 | ||
theme_override_constants/margin_bottom = 0 | ||
|
||
[node name="Icon" type="TextureRect" parent="Hbox/IconContainer"] | ||
unique_name_in_owner = true | ||
modulate = Color(0, 0, 0, 1) | ||
layout_mode = 2 | ||
offset_right = 60.0 | ||
offset_bottom = 60.0 | ||
grow_vertical = 2 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
ignore_texture_size = true | ||
metadata/_edit_layout_mode = 1 |
Oops, something went wrong.