MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / erase_component

Method erase_component

src/DrawingProgram/Tools/EditTool.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void EditTool::erase_component(CanvasComponentContainer::ObjInfo* erasedComp) {
77 if(erasedComp == objInfoBeingEdited)
78 switch_tool(get_type());
79}
80
81void EditTool::input_paste_callback(const CustomEvents::PasteEvent& paste) {
82 if(objInfoBeingEdited)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected