Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenOrienteering/mapper
/ dragMove
Method
dragMove
src/tools/pan_tool.cpp:55–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
}
54
55
void PanTool::dragMove()
56
{
57
MapView* view = mapWidget()->getMapView();
58
view->setPanOffset(cur_pos - click_pos);
59
}
60
61
void PanTool::dragFinish()
62
{
Callers
nothing calls this directly
Calls
2
getMapView
Method · 0.80
setPanOffset
Method · 0.45
Tested by
no test coverage detected