Commit c5172eae authored by Nicolas Ollinger's avatar Nicolas Ollinger

Bug fix: supprime le bug du tracé tablette hors canvas

parent 00709660
......@@ -345,7 +345,7 @@ void UBBoardView::tabletEvent (QTabletEvent * event)
UBDrawingController *dc = UBDrawingController::drawingController ();
QPointF tabletPos = event->pos();
QPointF tabletPos = mapFromGlobal(event->globalPos());
UBStylusTool::Enum currentTool = (UBStylusTool::Enum)dc->stylusTool ();
if (event->type () == QEvent::TabletPress || event->type () == QEvent::TabletEnterProximity) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment