[chronojump] forceSensor numPainted is 0 only before scroll
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] forceSensor numPainted is 0 only before scroll
- Date: Thu, 20 May 2021 19:03:23 +0000 (UTC)
commit 39a4c5e0b077ec07c40edceb89aadc5d53743cae
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu May 20 21:01:46 2021 +0200
forceSensor numPainted is 0 only before scroll
src/gui/app1/forceSensor.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index f7414029f..cdf80c0f9 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -1619,8 +1619,8 @@ LogB.Information(" fs J ");
int numCaptured = fscPoints.NumCaptured;
int numPainted = fscPoints.NumPainted;
- //if path: to show the full line
- if(interpolate_l != null && numPainted > 0)
+ //if path: to show the full line when scroll has not started
+ if(interpolate_l != null && numPainted > 0 && preferences.forceSensorCaptureScroll &&
fscPoints.ScrollStartedAtCount < 0)
numPainted = 1;
List<Gdk.Point> points = fscPoints.Points;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]