Fix for negative scaled boxes rendering behind larger scaled boxes despite being placed ahead

This commit is contained in:
MayNL
2026-05-26 18:12:21 -04:00
parent 09d1fc615c
commit ecec8dbd16

View File

@@ -174,7 +174,7 @@ namespace PckStudio.Core.Extensions
? -box.Pos.Z
: box.Pos.Z
)
.OrderBy(box => box.Scale)
.ThenBy(box => box.Scale)
.ToList();
float canvasWidth = 0;