Reduce the scale border's size to 5.

This commit is contained in:
Relintai 2021-12-25 23:41:50 +01:00
parent 7b4f044f43
commit 61b66b4109
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ subzones = [ ]
[sub_resource type="Resource" id=7]
resource_name = "343"
script = ExtResource( 2 )
rect = Rect2( 14, 134, 100, 100 )
rect = Rect2( 14, 134, 157, 152 )
locked = false
zones = [ SubResource( 12 ) ]

View File

@ -132,7 +132,7 @@ func _drag_hit_test(pos : Vector2) -> int:
var drag_type : int = DragType.DRAG_NONE
if (!edited_resource.locked):
var scaleborder_size : int = 10 #get_constant("scaleborder_size", "WindowDialog")
var scaleborder_size : int = 5 #get_constant("scaleborder_size", "WindowDialog")
var rect : Rect2 = get_rect()