Fix compilation of Bizware.Test app
This commit is contained in:
parent
9ac560d49d
commit
ec0510367a
|
@ -13,6 +13,7 @@
|
|||
<OutputType>WinExe</OutputType>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Drawing.Common" PrivateAssets="all" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics.Controls/BizHawk.Bizware.Graphics.Controls.csproj" />
|
||||
<EmbeddedResource Include="TestImages/**/*" />
|
||||
|
|
|
@ -86,8 +86,8 @@ namespace BizHawk.Bizware.Test
|
|||
var running = true;
|
||||
c.MouseClick += (_, args) =>
|
||||
{
|
||||
if (args.Button == MouseButtons.Left) running ^= true;
|
||||
else if (args.Button == MouseButtons.Right) c.Retain ^= true;
|
||||
if (args.Button == MouseButtons.Left) running = !running;
|
||||
else if (args.Button == MouseButtons.Right) c.Retain = !c.Retain;
|
||||
};
|
||||
|
||||
var start = DateTime.Now;
|
||||
|
|
Loading…
Reference in New Issue