[chronojump] ForceSensor capture scroll at 90% of screen
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensor capture scroll at 90% of screen
- Date: Thu, 26 Sep 2019 09:09:28 +0000 (UTC)
commit 5bd1365b09a906a08cc56a06192422a978a5fe3e
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Sep 26 11:08:27 2019 +0200
ForceSensor capture scroll at 90% of screen
src/forceSensor.cs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/forceSensor.cs b/src/forceSensor.cs
index b3d66c4e..bfd9cdbc 100644
--- a/src/forceSensor.cs
+++ b/src/forceSensor.cs
@@ -385,8 +385,7 @@ public class ForceSensorCapturePoints
private bool scrollStarted()
{
- //return (GetLastTime() > RealWidthG / 2); //Divide by 2 (half of the screen)
- return (GetLastTime() > .85 * RealWidthG); //85% of screen
+ return (GetLastTime() > .9 * RealWidthG); //90% of screen
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]