Update modules
This commit is contained in:
parent
905f9b27d1
commit
b601b958c9
2
QHotkey
2
QHotkey
@ -1 +1 @@
|
||||
Subproject commit 040cf5ec0cf2ed605c39d7bc4d0164ab7c54d6bf
|
||||
Subproject commit 7c4ef6a03a219c99932975bab270ea812589e1ad
|
@ -1,5 +1,4 @@
|
||||
#include "textitem.hpp"
|
||||
#include <QDebug>
|
||||
#include <QInputDialog>
|
||||
#include <QtMath>
|
||||
|
||||
@ -17,7 +16,6 @@ void TextItem::mouseDragEvent(QGraphicsSceneMouseEvent *e, CropScene *scene) {
|
||||
auto ee
|
||||
= 180 + qRadiansToDegrees(qAtan2((textItem->pos().y() - e->scenePos().y()), (textItem->pos().x() - e->scenePos().x())));
|
||||
textItem->setRotation(ee);
|
||||
qDebug() << ee;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user