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