Fix TI83Keypad being cut off under Mono

This commit is contained in:
YoshiRulz 2022-02-05 20:05:07 +10:00
parent af78507bc7
commit 55a60ceda7
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 5 additions and 1 deletions

View File

@ -1,12 +1,15 @@
using System;
using System.Drawing;
using BizHawk.Client.Common;
using BizHawk.Client.EmuHawk.Properties;
using BizHawk.Common;
using BizHawk.Emulation.Cores.Calculators.TI83;
using BizHawk.Emulation.Common;
namespace BizHawk.Client.EmuHawk
{
public partial class TI83KeyPad : ToolFormBase, IToolFormAutoConfig
public sealed partial class TI83KeyPad : ToolFormBase, IToolFormAutoConfig
{
[RequiredService]
// ReSharper disable once UnusedAutoPropertyAccessor.Local
@ -22,6 +25,7 @@ namespace BizHawk.Client.EmuHawk
RightButton.Image = Resources.WhiteTriRight;
DownButton.Image = Resources.WhiteTriDown;
UpButton.Image = Resources.WhiteTriUp;
if (OSTailoredCode.IsUnixHost) MinimumSize = (MaximumSize += new Size(48, 32)); // also updates current size
}
[ConfigPersist]