Sketcher: [skip ci] fix computing of hotspot of sketcher icons on macOS

This commit is contained in:
wmayer
2020-09-23 11:31:17 +02:00
parent 3c6faae1f0
commit 5956f41e5d

View File

@@ -113,7 +113,7 @@ void DrawSketchHandler::setSvgCursor(const QString & cursorName, int x, int y, c
qreal pRatio = devicePixelRatio();
bool isRatioOne = (pRatio == 1.0);
qreal defaultCursorSize = isRatioOne ? 64 : 32;
#if defined(Q_OS_WIN32)
#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
qreal hotX = x;
qreal hotY = y;
#else