Skip to content

Commit

Permalink
fix: stop drag cooldown timer after interrupted with pointer move or …
Browse files Browse the repository at this point in the history
…scroll
  • Loading branch information
klkvsk committed Jul 10, 2023
1 parent cdc2811 commit cf0ae32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Binary file modified AppIcon.ico
Binary file not shown.
7 changes: 6 additions & 1 deletion PreciseThreeFingersDrag.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PlatformTarget>x64</PlatformTarget>
<ApplicationIcon>AppIcon.ico</ApplicationIcon>
<ApplicationManifest>app.manifest</ApplicationManifest>
<VersionPrefix>1.0.1</VersionPrefix>
<VersionPrefix>1.0.2</VersionPrefix>

</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -29,6 +29,11 @@
<AdditionalFiles Remove="app.manifest" />
</ItemGroup>


<ItemGroup>
<Content Include="AppIcon.ico" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="H.NotifyIcon" Version="2.0.108" />
<PackageReference Include="RawInput.Sharp" Version="0.1.1" />
Expand Down
1 change: 1 addition & 0 deletions TouchProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public void Update(RawInputDigitizerData data)
_ => State.FOUR_OR_MORE,
});
MouseInject.LeftButtonPressed = false;
dragCooldownTimer.Stop();
}
}

Expand Down
2 changes: 1 addition & 1 deletion app.manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.1.0" name="MyApplication.app"/>
<assemblyIdentity version="1.0.2.0" name="MyApplication.app"/>

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
Expand Down

0 comments on commit cf0ae32

Please sign in to comment.