Remove unused props from `RollColumn` and `RollColumns`
This commit is contained in:
parent
c5a478a28a
commit
41cae2dd22
|
@ -88,11 +88,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
RollColumn col = visibleColumns[j];
|
||||
int height = CellHeight;
|
||||
if (col.Rotatable && col.RotatedHeight != null)
|
||||
{
|
||||
height = Math.Max(height, col.RotatedHeight.Value);
|
||||
}
|
||||
else if (col.Rotatable)
|
||||
if (col.Rotatable)
|
||||
{
|
||||
int strOffsetX = 0;
|
||||
int strOffsetY = 0;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
public class RollColumn
|
||||
{
|
||||
public string Group { get; set; }
|
||||
public int Width { get; set; }
|
||||
public int Left { get; set; }
|
||||
public int Right { get; set; }
|
||||
|
@ -23,11 +22,6 @@
|
|||
/// </summary>
|
||||
public bool Rotatable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If drawn rotated, specifies the desired height, or null to auto-size
|
||||
/// </summary>
|
||||
public int? RotatedHeight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Sets the desired width as appropriate for a display with no scaling. If display
|
||||
/// scaling is enabled, the actual column width will be scaled accordingly.
|
||||
|
|
|
@ -106,9 +106,5 @@ namespace BizHawk.Client.EmuHawk
|
|||
base.Clear();
|
||||
ColumnsChanged();
|
||||
}
|
||||
|
||||
public IEnumerable<string> Groups => this
|
||||
.Select(x => x.Group)
|
||||
.Distinct();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue