MCPcopy Create free account
hub / github.com/KLayout/klayout / deactivated

Method deactivated

src/laybasic/laybasic/layMove.cc:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void
58MoveService::deactivated ()
59{
60 EditorServiceBase::deactivated ();
61 m_shift = db::DPoint ();
62 mp_editables->clear_transient_selection ();
63
64 if (m_dragging) {
65 // we don't just call drag_cancel() - this way avoids pending selections with the wrong coordinates
66 mp_view->edit_cancel ();
67 }
68}
69
70bool
71MoveService::configure (const std::string &name, const std::string &value)

Callers

nothing calls this directly

Calls 3

deactivatedFunction · 0.70
edit_cancelMethod · 0.45

Tested by

no test coverage detected