MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / setPanOffset

Method setPanOffset

src/core/map_view.cpp:271–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void MapView::setPanOffset(const QPoint& offset)
272{
273 if (offset != pan_offset)
274 {
275 pan_offset = offset;
276 emit panOffsetChanged(offset);
277 }
278}
279
280void MapView::finishPanning(const QPoint& offset)
281{

Callers 2

dragMoveMethod · 0.45
validateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected