From e80d7d2a910e02375d6cb8500dcd74c8ae22a5a9 Mon Sep 17 00:00:00 2001 From: kubecz3k Date: Wed, 20 Jan 2016 13:01:27 +0100 Subject: Wider initial size of the panel with scripts I believe it's size is now exactly the same how it was before commit that allowed to hide script panel entirely. I assume previously it was 140 wide because of 70px of minimal size + 70px of offset, so now when minimal size is 0 the offset need to be 140. --- tools/editor/plugins/script_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 1e16f32e6e..76e4af5f16 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -2329,7 +2329,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { script_list = memnew( ItemList ); script_split->add_child(script_list); script_list->set_custom_minimum_size(Size2(0,0)); - script_split->set_split_offset(70); + script_split->set_split_offset(140); tab_container = memnew( TabContainer ); tab_container->set_tabs_visible(false); -- cgit v1.2.3 From d3332a574ed03253f841405a9df7cf4801d5173b Mon Sep 17 00:00:00 2001 From: Luka Date: Wed, 20 Jan 2016 17:48:53 +0100 Subject: Fixed wrong variable names --- methods.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/methods.py b/methods.py index a894973e69..e8de4696cd 100755 --- a/methods.py +++ b/methods.py @@ -1287,10 +1287,10 @@ def android_add_java_dir(self,subpath): def android_add_res_dir(self,subpath): base_path = self.Dir(".").abspath+"/modules/"+self.current_module+"/"+subpath self.android_res_dirs.append(base_path) -def android_add_aidl_dir(self,file): +def android_add_aidl_dir(self,subpath): base_path = self.Dir(".").abspath+"/modules/"+self.current_module+"/"+subpath self.android_aidl_dirs.append(base_path) -def android_add_jni_dir(self,file): +def android_add_jni_dir(self,subpath): base_path = self.Dir(".").abspath+"/modules/"+self.current_module+"/"+subpath self.android_jni_dirs.append(base_path) -- cgit v1.2.3 From 42b57154f0fc0f6a7ad863e77f8912753784e100 Mon Sep 17 00:00:00 2001 From: eska Date: Wed, 20 Jan 2016 19:56:27 +0100 Subject: Center status display in web export per flexbox - Fix mouse button press events not arriving in canvas - Fix right mouse button click on canvas opening context menu --- tools/html_fs/godot.html | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/tools/html_fs/godot.html b/tools/html_fs/godot.html index 6176fe7afa..c354826e1f 100644 --- a/tools/html_fs/godot.html +++ b/tools/html_fs/godot.html @@ -93,23 +93,15 @@ top: 0; right: 0; bottom: 0; - } - - #status-table { - /* vertical centering per table... */ - display: table; - width: 100%; - height: 100%; - } - - #status-table-cell { - display: table-cell; - vertical-align: middle; + display: flex; + justify-content: center; + align-items: center; + /* don't consume click events - make children visible explicitly */ + visibility: hidden; } #status { - /* hidden until explicitly shown in debug mode */ - visibility: hidden; + visibility: visible; padding: 4px 6px; } @@ -184,9 +176,9 @@ HTML5 canvas appears to be unsupported in the current browser.
Please try updating or use a different browser.
-
+
Loading page... -
+