Fix icon smoothing on rotated grid
This commit is contained in:
@@ -239,7 +239,8 @@ namespace Content.Client.IconSmoothing
|
|||||||
cornerNW |= CornerFill.Diagonal;
|
cornerNW |= CornerFill.Diagonal;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (Owner.Transform.WorldRotation.GetCardinalDir())
|
// Local is fine as we already know it's parented to the grid (due to the way anchoring works).
|
||||||
|
switch (Owner.Transform.LocalRotation.GetCardinalDir())
|
||||||
{
|
{
|
||||||
case Direction.North:
|
case Direction.North:
|
||||||
return (cornerSW, cornerSE, cornerNE, cornerNW);
|
return (cornerSW, cornerSE, cornerNE, cornerNW);
|
||||||
|
|||||||
Reference in New Issue
Block a user