(770423441) Fixed items being drawn at an incorrect scale when dragging in the editor

This commit is contained in:
Joonas Rikkonen
2019-04-23 17:23:08 +03:00
parent 5f3e23f75f
commit 77d0b2aaab

View File

@@ -237,7 +237,7 @@ namespace Barotrauma
{
if (!ResizeHorizontal && !ResizeVertical)
{
sprite.Draw(spriteBatch, new Vector2(placeRect.Center.X, -(placeRect.Y - placeRect.Height / 2)), SpriteColor * 0.8f, scale: Scale * scale);
sprite.Draw(spriteBatch, new Vector2(placeRect.Center.X, -(placeRect.Y - placeRect.Height / 2)), SpriteColor * 0.8f, scale: scale);
}
else
{