Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0 Settings Window Fix #1076

Merged
merged 1 commit into from
Aug 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
settings editor scene changed to match the size of the General tab pa…
…nel. and switching order of show_settings() seems to make it open the correct size
  • Loading branch information
ii4y-studios committed Aug 3, 2022
commit 51e53cad99862d3307c689e3cea5a83ee29e1989
3 changes: 2 additions & 1 deletion addons/dialogic/Editor/EditorView.gd
Original file line number Diff line number Diff line change
@@ -40,8 +40,9 @@ func edit_character(object):


func show_settings():
$SettingsEditor.size = get_viewport().size/1.5

$SettingsEditor.popup_centered()
$SettingsEditor.size = get_viewport().size/1.5

func save_current_resource():
$SaveConfirmationDialog.popup_centered()
2 changes: 1 addition & 1 deletion addons/dialogic/Editor/Settings/SettingsEditor.tscn
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@

[node name="SettingsEditor" type="Popup"]
title = "Dialogic Settings"
size = Vector2i(700, 500)
size = Vector2i(1024, 600)
borderless = false
min_size = Vector2i(700, 500)
script = ExtResource("1")