From def5df44fa0e233bb7316b98d1a35923f62c6496 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Wed, 7 Dec 2022 05:26:25 +1000 Subject: [PATCH] Fix double call to `UIHelper.ScaleX` in `ControllerConfig` (see #2605) fixes 93c47b87b --- .../config/ControllerConfig/ControllerConfigPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs b/src/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs index 9ca8ecdb25..6d230cee0b 100644 --- a/src/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs +++ b/src/BizHawk.Client.EmuHawk/config/ControllerConfig/ControllerConfigPanel.cs @@ -142,7 +142,7 @@ namespace BizHawk.Client.EmuHawk var label = new Label { Location = new Point(x + _inputSize + _labelPadding, y + UIHelper.ScaleY(3)), - Size = new Size(UIHelper.ScaleX(labelWidth), UIHelper.ScaleY(15)), + Size = new Size(labelWidth, UIHelper.ScaleY(15)), Text = _buttons[i].Replace('_', ' ').Trim() };