From 96d023de875fed886e7b46005e4f056e2571573b Mon Sep 17 00:00:00 2001 From: Ivaylo Draganov Date: Sun, 9 Apr 2023 18:47:25 +0300 Subject: [PATCH] Don't change cursor when mousing over label widgets Labels don't handle input so the cursor should not change over them. --- OpenRA.Mods.Common/Widgets/LabelWidget.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Mods.Common/Widgets/LabelWidget.cs b/OpenRA.Mods.Common/Widgets/LabelWidget.cs index 08ca83126e..1444b2dadb 100644 --- a/OpenRA.Mods.Common/Widgets/LabelWidget.cs +++ b/OpenRA.Mods.Common/Widgets/LabelWidget.cs @@ -112,5 +112,7 @@ namespace OpenRA.Mods.Common.Widgets } public override Widget Clone() { return new LabelWidget(this); } + + public override string GetCursor(int2 pos) { return null; } } }