Remove a few more hardcoded values in InputRoll constructor
This commit is contained in:
parent
22fdbd08d0
commit
d2a9f51510
|
@ -76,9 +76,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
public InputRoll()
|
public InputRoll()
|
||||||
{
|
{
|
||||||
CurrentCell = null;
|
|
||||||
ScrollMethod = "near";
|
|
||||||
|
|
||||||
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
||||||
SetStyle(ControlStyles.UserPaint, true);
|
SetStyle(ControlStyles.UserPaint, true);
|
||||||
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
|
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
|
||||||
|
@ -292,7 +289,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DefaultValue("near")]
|
[DefaultValue("near")]
|
||||||
[Category("Behavior")]
|
[Category("Behavior")]
|
||||||
public string ScrollMethod { get; set; }
|
public string ScrollMethod { get; set; } = "near";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating how the scrolling behavior for the hover event
|
/// Gets or sets a value indicating how the scrolling behavior for the hover event
|
||||||
|
|
Loading…
Reference in New Issue