Skip to content

Commit d8d8f62

Browse files
authored
fix: table labels should not have mouse input enabled by default (#2452)
1 parent 7922070 commit d8d8f62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Intersect.Client.Framework/Gwen/Control/Layout/TableRow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ protected virtual void ComputeColumns()
219219
mColumns.Add(new Label(this)
220220
{
221221
Font = Font,
222-
MouseInputEnabled = true,
222+
MouseInputEnabled = false,
223223
Padding = Padding.Three,
224224
TextColor = TextColor,
225225
TextColorOverride = TextColorOverride,

Intersect.Client.Framework/Gwen/Input/InputHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static partial class InputHandler
2323
/// <summary>
2424
/// Control currently hovered by mouse.
2525
/// </summary>
26-
public static Base HoveredControl;
26+
public static Base? HoveredControl { get; set; }
2727

2828
/// <summary>
2929
/// Control that corrently has keyboard focus.

0 commit comments

Comments
 (0)