diff --git a/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp b/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp index a192693b2..e031bbe80 100644 --- a/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp +++ b/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp @@ -1010,7 +1010,8 @@ void ToolWindowManager::finishDrag() { void ToolWindowManager::drawHotspotPixmaps() { for (AreaReferenceType ref : { AddTo, LeftOf, TopOf, RightOf, BottomOf }) { - m_pixmaps[ref] = QPixmap(m_dropHotspotDimension, m_dropHotspotDimension); + m_pixmaps[ref] = QPixmap(m_dropHotspotDimension*devicePixelRatio(), m_dropHotspotDimension*devicePixelRatio()); + m_pixmaps[ref].setDevicePixelRatio(devicePixelRatioF()); QPainter p(&m_pixmaps[ref]); p.setCompositionMode(QPainter::CompositionMode_Source);