PathConfig - remove unused hack

This commit is contained in:
adelikat 2019-12-21 12:51:51 -06:00
parent 5848cc5948
commit c127d92296
2 changed files with 4 additions and 9 deletions

View File

@ -97,11 +97,11 @@ namespace BizHawk.Client.EmuHawk
var tabPages = new List<TabPage>(systems.Count);
int x = UIHelper.ScaleX(6);
int textboxWidth = UIHelper.ScaleX(70);
int textBoxWidth = UIHelper.ScaleX(70);
int padding = UIHelper.ScaleX(5);
int buttonWidth = UIHelper.ScaleX(26);
int buttonHeight = UIHelper.ScaleY(23);
int buttonOffsetY = -1; // To align the top with the textbox I guess? Always 1 pixel regardless of scaling.
int buttonOffsetY = -1; // To align the top with the TextBox I guess? Always 1 pixel regardless of scaling.
int widgetOffset = UIHelper.ScaleX(85);
int rowHeight = UIHelper.ScaleY(30);
@ -127,7 +127,7 @@ namespace BizHawk.Client.EmuHawk
{
Text = path.Path,
Location = new Point(x, y),
Width = textboxWidth,
Width = textBoxWidth,
Name = path.Type,
Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right,
MinimumSize = new Size(UIHelper.ScaleX(26), UIHelper.ScaleY(23)),
@ -200,12 +200,6 @@ namespace BizHawk.Client.EmuHawk
y += rowHeight;
}
var sys = systemDisplayName;
if (systemDisplayName == "PCE") // Hack
{
sys = "PCECD";
}
tabPages.Add(t);
}

View File

@ -325,6 +325,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=regs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=resizer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Rewinder/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Roms/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=samp/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Saturnus/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=saveram/@EntryIndexedValue">True</s:Boolean>