Remove a few more hardcoded values in InputRoll constructor

This commit is contained in:
adelikat 2019-11-26 12:53:10 -06:00
parent 22fdbd08d0
commit d2a9f51510
1 changed files with 1 additions and 4 deletions

View File

@ -76,9 +76,6 @@ namespace BizHawk.Client.EmuHawk
public InputRoll()
{
CurrentCell = null;
ScrollMethod = "near";
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
@ -292,7 +289,7 @@ namespace BizHawk.Client.EmuHawk
/// </summary>
[DefaultValue("near")]
[Category("Behavior")]
public string ScrollMethod { get; set; }
public string ScrollMethod { get; set; } = "near";
/// <summary>
/// Gets or sets a value indicating how the scrolling behavior for the hover event