maps: fix pan amount after 2x scaling

old-commit-hash: 9c588e6117b0c25d42877fad1d7e59dce030170f
This commit is contained in:
Willem Melching
2021-05-21 17:10:59 +02:00
parent 837e9eb290
commit 53a78620b9
+1 -1
View File
@@ -286,7 +286,7 @@ void MapWindow::mouseMoveEvent(QMouseEvent *ev){
if (!delta.isNull()) {
pan_counter = PAN_TIMEOUT;
m_map->moveBy(delta);
m_map->moveBy(delta / MAP_SCALE);
}
m_lastPos = ev->localPos();