mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-23 17:13:44 +08:00
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user