From 1f28672eeadbd514833d50eb6992ecea76309a86 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 28 Apr 2022 19:17:58 +0300 Subject: [PATCH] Fix last end of the last tag being cut off --- src/Classes/Project.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/Project.gd b/src/Classes/Project.gd index c697d9572..0e6309a9d 100644 --- a/src/Classes/Project.gd +++ b/src/Classes/Project.gd @@ -655,7 +655,7 @@ func _animation_tags_changed(value: Array) -> void: tag_c.rect_position.x = (tag.from - 1) * tag_base_size + 1 var tag_size: int = tag.to - tag.from # We dont need the 4 pixels at the end of last cel - tag_c.rect_min_size.x = (tag_size + 1) * tag_base_size - 4 + tag_c.rect_min_size.x = (tag_size + 1) * tag_base_size - 8 tag_c.rect_position.y = 1 # To make top line of tag visible tag_c.get_node("Line2D").points[2] = Vector2(tag_c.rect_min_size.x, 0) tag_c.get_node("Line2D").points[3] = Vector2(tag_c.rect_min_size.x, 32)