From d0e882e6b759ffe18a545cb8cce18ca402eac763 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 20 Sep 2021 00:45:38 +0200 Subject: use stf speed to compute time between stroke points in txyf export --- stfstrokeitem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stfstrokeitem.cc') 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(); -- cgit v1.2.3