mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 20:24:23 +02:00
Make compatible with Godot v3.2
But still only officially support v3.3+
This commit is contained in:
parent
16d231fc63
commit
7c3d5f76f3
2 changed files with 5 additions and 2 deletions
|
@ -67,7 +67,10 @@ func _load_or_create_settings() -> void:
|
|||
func _update_settings() -> void:
|
||||
_load_or_create_settings()
|
||||
|
||||
var editor_scale: float = editor_interface.get_editor_scale()
|
||||
var editor_scale: float = 1.0
|
||||
if editor_interface.has_method("get_editor_scale"):
|
||||
editor_scale = editor_interface.get_editor_scale()
|
||||
|
||||
rect_min_size = Vector2(0, tabbar_container.rect_size.y + 182) * editor_scale
|
||||
rect_size.y = 415
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue