mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-20 21:07:17 +01:00
Small change to the previous commit.
This commit is contained in:
parent
06e025633e
commit
e250190e99
@ -15,7 +15,7 @@ func set_edited_resource(res : WorldGenBaseResource):
|
||||
|
||||
if r.size.x > 0:
|
||||
var rsx : float = get_node("ScrollContainer").rect_size.x
|
||||
var scale : float = rsx / r.size.x * 0.8
|
||||
var scale : float = rsx / r.size.x * 0.5
|
||||
|
||||
get_node("Control/EditorZoomWidget").zoom = scale
|
||||
get_node("ScrollContainer/MarginContainer/RectView").apply_zoom()
|
||||
|
Loading…
Reference in New Issue
Block a user