Skip to content

Commit 4ea62d6

Browse files
committed
feat(multilineinput): remove useless conversions
1 parent 7d278cf commit 4ea62d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SharpEngine.Core/Widget/MultiLineInput.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ public override void Draw()
9393
var offsetY = realTextSize.Y * lines.Length - (Size.Y - 8);
9494

9595
SERender.ScissorMode(
96-
(int)finalPosition.X,
97-
(int)finalPosition.Y,
98-
(int)Size.X - 8,
99-
(int)Size.Y - 8,
96+
finalPosition.X,
97+
finalPosition.Y,
98+
Size.X - 8,
99+
Size.Y - 8,
100100
InstructionSource.UI,
101101
ZLayer + 0.00002f,
102102
() =>

0 commit comments

Comments
 (0)