Mercurial > hg > svgui
diff view/Pane.cpp @ 900:1fc4f29feb2e cxx11
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 03 Mar 2015 09:33:59 +0000 |
parents | 899c4d7e7e63 78e041e45ff0 |
children | 4a578a360011 |
line wrap: on
line diff
--- a/view/Pane.cpp Mon Feb 09 10:31:07 2015 +0000 +++ b/view/Pane.cpp Tue Mar 03 09:33:59 2015 +0000 @@ -2024,6 +2024,11 @@ int smallThreshold = 10, bigThreshold = 80; + if (m_manager) { + smallThreshold = m_manager->scalePixelSize(smallThreshold); + bigThreshold = m_manager->scalePixelSize(bigThreshold); + } + // SVDEBUG << "Pane::updateDragMode: xdiff = " << xdiff << ", ydiff = " // << ydiff << ", canMoveVertical = " << canMoveVertical << ", drag mode = " << m_dragMode << endl;