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

Method nextRedo

src/app/document_undo.cpp:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155const undo::UndoState* DocumentUndo::nextRedo() const
156{
157 const undo::UndoState* state = m_undoHistory.currentState();
158 if (state)
159 return state->next();
160 else
161 return m_undoHistory.firstState();
162}
163
164} // namespace app

Callers

nothing calls this directly

Calls 3

currentStateMethod · 0.80
firstStateMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected