mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +00:00
-Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
This commit is contained in:
parent
c7d24b7814
commit
9b1f8230ec
33 changed files with 421 additions and 242 deletions
|
|
@ -978,7 +978,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
switch(p_option) {
|
||||
case FILE_NEW: {
|
||||
script_create_dialog->config("Node", ".gd");
|
||||
script_create_dialog->popup_centered(Size2(300, 300));
|
||||
script_create_dialog->popup_centered(Size2(300, 300)*EDSCALE);
|
||||
} break;
|
||||
case FILE_OPEN: {
|
||||
|
||||
|
|
@ -1100,7 +1100,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
switch(p_option) {
|
||||
case FILE_NEW: {
|
||||
script_create_dialog->config("Node", ".gd");
|
||||
script_create_dialog->popup_centered(Size2(300, 300));
|
||||
script_create_dialog->popup_centered(Size2(300, 300)*EDSCALE);
|
||||
} break;
|
||||
case FILE_SAVE: {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue