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

Method onCut

src/app/ui/workspace.cpp:351–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351bool Workspace::onCut(Context* ctx)
352{
353 WorkspaceView* view = activeView();
354 InputChainElement* activeElement = (view ? view->onGetInputChainElement(): nullptr);
355 if (activeElement)
356 return activeElement->onCut(ctx);
357 else
358 return false;
359}
360
361bool Workspace::onCopy(Context* ctx)
362{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected