Ticket #49427: patch-ipecanvas-ipecanvas_qt.cpp.diff
File patch-ipecanvas-ipecanvas_qt.cpp.diff, 415 bytes (added by m7.thon@…, 9 years ago) |
---|
-
ipecanvas/ipecanvas_qt.cpp
old new 239 239 void Canvas::tabletEvent(QTabletEvent *ev) 240 240 { 241 241 Vector globalPos(ev->hiResGlobalX(), ev->hiResGlobalY()); 242 QPointF hiPos = ev-> posF();242 QPointF hiPos = ev->hiResGlobalPos() - (ev->globalPos() - ev->pos()); 243 243 ev->accept(); 244 244 245 245 switch (ev->type()) {