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

Method addEmptyFrame

src/app/document_api.cpp:167–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void DocumentApi::addEmptyFrame(Sprite* sprite, frame_t newFrame)
168{
169 m_transaction.execute(new cmd::AddFrame(sprite, newFrame));
170 adjustFrameTags(sprite, newFrame, +1, false);
171}
172
173void DocumentApi::addEmptyFramesTo(Sprite* sprite, frame_t newFrame)
174{

Callers 2

onExecuteMethod · 0.80
pasteFunction · 0.80

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected