Skip to content

Commit 6348856

Browse files
authored
1.4.3 - Fix for export error due to settings theme failure (#978)
* 1.4.3 - Fix for default theme settings issue Fix for #915 * 1.4.3 - Fix for default theme settings issue
1 parent 993c7e3 commit 6348856

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

addons/dialogic/Nodes/DialogNode.gd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,8 @@ func load_config_files():
145145
settings = DialogicResources.get_settings_config()
146146
# theme
147147
var theme_file = 'res://addons/dialogic/Editor/ThemeEditor/default-theme.cfg'
148-
if settings.has_section('theme'):
149-
theme_file = settings.get_value('theme', 'default')
150-
current_default_theme = theme_file
148+
theme_file = settings.get_value('theme', 'default', 'default-theme.cfg')
149+
current_default_theme = theme_file
151150
current_theme = load_theme(theme_file)
152151

153152
# history

addons/dialogic/Nodes/DialogNode.tscn

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,19 @@ anchor_left = 0.5
2929
anchor_top = 1.0
3030
anchor_right = 0.5
3131
anchor_bottom = 1.0
32+
margin_left = 640.0
33+
margin_top = 720.0
34+
margin_right = 640.0
35+
margin_bottom = 720.0
3236
__meta__ = {
3337
"_edit_use_anchors_": false
3438
}
3539

3640
[node name="TextBubble" parent="." instance=ExtResource( 1 )]
37-
margin_top = -207.0
38-
margin_bottom = -40.0
41+
margin_left = 185.0
42+
margin_top = 513.0
43+
margin_right = 1095.0
44+
margin_bottom = 680.0
3945

4046
[node name="Options" type="VBoxContainer" parent="."]
4147
visible = false

0 commit comments

Comments
 (0)