MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / currentMode

Method currentMode

App/interaction/ToolsManager.cpp:277–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277ToolsManager::Mode ToolsManager::currentMode() {
278 if (sideToolsPanel == nullptr) {
279 return Mode::Cursor;
280 }
281 return mapPanelTool(sideToolsPanel->getSelectedTool());
282}
283
284bool ToolsManager::isSelectionMode(ToolsManager::Mode mode) { return mode == Mode::Area; }
285

Callers

nothing calls this directly

Calls 2

mapPanelToolFunction · 0.85
getSelectedToolMethod · 0.80

Tested by

no test coverage detected