Skip to content

Commit 007379a

Browse files
committed
feat(texturebutton): remove background
1 parent 9a54f30 commit 007379a

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

SharpEngine.Core/Widget/TextureButton.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,6 @@ public override void Draw()
8383
ZLayer
8484
);
8585

86-
SERender.DrawRectangle(
87-
(int)(RealPosition.X - Size.X / 2),
88-
(int)(RealPosition.Y - Size.Y / 2),
89-
(int)Size.X,
90-
(int)Size.Y,
91-
Color.Black,
92-
InstructionSource.UI,
93-
ZLayer + 0.00001f
94-
);
9586
SERender.DrawTexture(
9687
finalTexture.Value,
9788
new Rect(0, 0, finalTexture.Value.Width, finalTexture.Value.Height),

0 commit comments

Comments
 (0)