diff options
author | Javier <dev.git@javispedro.com> | 2021-09-20 00:45:38 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2021-09-20 00:45:38 +0200 |
commit | d0e882e6b759ffe18a545cb8cce18ca402eac763 (patch) | |
tree | 2cf463f5cfa486982a47ae1fcae5ef0d54399da1 /stfstrokeitem.cc | |
parent | 8f5e61797d35ef376f9eb7af78731daec9a49091 (diff) | |
download | scribiu-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.cc | 2 |
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(); |