From 50f8465d1e54c15c8cde679cce023ff77fb36ba0 Mon Sep 17 00:00:00 2001 From: Carko Date: Tue, 8 Jan 2013 22:18:07 +0100 Subject: [PATCH] Removed mouse capture while composing text in chat (fixes #2486) --- OpenRA.Game/Widgets/ChatEntryWidget.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OpenRA.Game/Widgets/ChatEntryWidget.cs b/OpenRA.Game/Widgets/ChatEntryWidget.cs index cf6932241f..3dcce63df9 100755 --- a/OpenRA.Game/Widgets/ChatEntryWidget.cs +++ b/OpenRA.Game/Widgets/ChatEntryWidget.cs @@ -45,11 +45,6 @@ namespace OpenRA.Widgets public override Rectangle EventBounds { get { return Rectangle.Empty; } } - public override bool LoseFocus(MouseInput mi) - { - return composing ? false : base.LoseFocus(mi); - } - public override bool HandleKeyPress(KeyInput e) { if (e.Event == KeyInputEvent.Up) return false;