From 90fe38b0171105ac570abc631bb3b4de28806f7e Mon Sep 17 00:00:00 2001 From: dnesov Date: Wed, 25 Jun 2025 21:41:24 +0200 Subject: [PATCH] Remove resizing of FillContainer in TestGame. --- TestGame/TestGame.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/TestGame/TestGame.cs b/TestGame/TestGame.cs index b722f5e..e5f1e8b 100644 --- a/TestGame/TestGame.cs +++ b/TestGame/TestGame.cs @@ -81,12 +81,6 @@ public class TestGame : Game var lastChild = _container.Children.Last(); _container.RemoveChild(lastChild); } - - if (Input.IsMouseButtonDown(MouseButton.Left)) - { - var mousePos = Input.GetMousePosition(); - _fillContainer.Size = new Rect(mousePos.X, mousePos.Y); - } } protected override void Render(double deltaTime)