pivot fix

This commit is contained in:
2026-06-13 14:56:02 -04:00
parent 71e799f536
commit 0ea0afe1e3
7 changed files with 50 additions and 14 deletions
+1 -1
View File
@@ -552,7 +552,7 @@ namespace anm2ed
if (region->origin == Origin::TOP_LEFT)
region->pivot = {};
else if (region->origin == Origin::CENTER)
region->pivot = {static_cast<int>(region->size.x / 2.0f), static_cast<int>(region->size.y / 2.0f)};
region->pivot = region->size * 0.5f;
else
region->pivot -= region->crop - previousCrop;
isChanged = true;