aboutsummaryrefslogtreecommitdiff
path: root/stfstrokeitem.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2021-09-20 00:45:38 +0200
committerJavier <dev.git@javispedro.com>2021-09-20 00:45:38 +0200
commitd0e882e6b759ffe18a545cb8cce18ca402eac763 (patch)
tree2cf463f5cfa486982a47ae1fcae5ef0d54399da1 /stfstrokeitem.cc
parent8f5e61797d35ef376f9eb7af78731daec9a49091 (diff)
downloadscribiu-d0e882e6b759ffe18a545cb8cce18ca402eac763.tar.gz
scribiu-d0e882e6b759ffe18a545cb8cce18ca402eac763.zip
use stf speed to compute time between stroke points in txyf export
Diffstat (limited to 'stfstrokeitem.cc')
-rw-r--r--stfstrokeitem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/stfstrokeitem.cc b/stfstrokeitem.cc
index 8fce6b7..a9ca693 100644
--- a/stfstrokeitem.cc
+++ b/stfstrokeitem.cc
@@ -54,7 +54,7 @@ void StfStrokeItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
PaperReplay::PenTime time = _startTime - _session.startTime();
if (time < 10) time = 0;
- qDebug() << "requesting paper replay at time" << time << "/" << (_session.endTime() - _session.startTime());
+ qDebug() << "requesting paper replay at time" << time << "/" << _session.duration();
nbview->requestPaperReplay(_session.fileName(), time);
event->accept();