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

Method dragFinish

src/tools/edit_point_tool.cpp:377–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void EditPointTool::dragFinish()
378{
379 if (editingInProgress())
380 {
381 finishEditing();
382 angle_helper->setActive(false);
383 snap_helper->setFilter(SnappingToolHelper::NoSnapping);
384 }
385 else if (box_selection)
386 {
387 object_selector->selectBox(click_pos_map, cur_pos_map, active_modifiers & Qt::ShiftModifier);
388 }
389 box_selection = false;
390}
391
392void EditPointTool::dragCanceled()
393{

Callers

nothing calls this directly

Calls 3

setFilterMethod · 0.80
selectBoxMethod · 0.80
setActiveMethod · 0.45

Tested by

no test coverage detected