MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / onNewInputPriority

Method onNewInputPriority

src/app/ui/workspace.cpp:303–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void Workspace::onNewInputPriority(InputChainElement* newElement)
304{
305 WorkspaceView* view = activeView();
306 InputChainElement* activeElement = (view ? view->onGetInputChainElement(): nullptr);
307 if (activeElement)
308 activeElement->onNewInputPriority(newElement);
309}
310
311bool Workspace::onCanCut(Context* ctx)
312{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected