Make them a bit bigger.

This commit is contained in:
Relintai 2022-08-05 21:31:44 +02:00
parent 9145867ac4
commit ab2e4efaa6

View File

@ -65,8 +65,8 @@ func add_item(item_name : String = "") -> void:
var r : Rect2 = edited_resource.get_rect()
var rs : Vector2 = r.size
r.size.x /= 10.0
r.size.y /= 10.0
r.size.x /= 5.0
r.size.y /= 5.0
r.position = rs / Vector2(2, 2)
r.position -= r.size / Vector2(2, 2)
e.set_rect(r)