forked from dialogic-godot/dialogic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Independent choices (dialogic-godot#2057)
Moves choices logic into the choice event (the first choice of a question will handle it) instead of the text event. Also updates the visual editor logic, lines and warning for choices to reflect that they can now exist wherever they want.
- Loading branch information
1 parent
5bca685
commit f1d4a70
Showing
11 changed files
with
209 additions
and
129 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
18 changes: 9 additions & 9 deletions
18
addons/dialogic/Editor/Events/styles/selected_styleboxflat.tres
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,16 +1,16 @@ | ||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://obyrr26pqk2p"] | ||
|
||
[resource] | ||
content_margin_left = 7.0 | ||
content_margin_top = 0.0 | ||
content_margin_right = 0.0 | ||
content_margin_bottom = 0.0 | ||
content_margin_left = 3.0 | ||
content_margin_top = 1.0 | ||
content_margin_right = 4.0 | ||
content_margin_bottom = 1.0 | ||
bg_color = Color(0.776471, 0.776471, 0.776471, 0.207843) | ||
border_width_left = 3 | ||
border_color = Color(1, 1, 1, 1) | ||
corner_radius_top_left = 1 | ||
corner_radius_top_left = 5 | ||
corner_radius_top_right = 5 | ||
corner_radius_bottom_right = 5 | ||
corner_radius_bottom_left = 1 | ||
expand_margin_top = 3.0 | ||
expand_margin_bottom = 3.0 | ||
corner_radius_bottom_left = 5 | ||
expand_margin_left = 1.0 | ||
expand_margin_top = 1.0 | ||
expand_margin_bottom = 2.0 |
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,4 +1,7 @@ | ||
[gd_resource type="StyleBoxEmpty" format=3 uid="uid://cl75ikyq2is7c"] | ||
|
||
[resource] | ||
content_margin_left = 7.0 | ||
content_margin_left = 3.0 | ||
content_margin_top = 1.0 | ||
content_margin_right = 4.0 | ||
content_margin_bottom = 1.0 |
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
Oops, something went wrong.