else
{
// We'll send the "adjusted" position and server will adjust it back when relevant.
- var mapCoords = new MapCoordinates(InverseMapPosition(args.RelativePosition), ViewingMap);
+ var mapCoords = new MapCoordinates(InverseMapPosition(args.RelativePixelPosition), ViewingMap);
RequestFTL?.Invoke(mapCoords, _ftlAngle);
}
}
// Remove offset so we can floor.
var botLeft = new Vector2(0f, 0f);
- var topRight = botLeft + Size;
+ var topRight = botLeft + PixelSize;
var flooredBL = botLeft - originBL;