[nostalgia/core/studio] Cleanup
This commit is contained in:
@ -57,8 +57,7 @@ struct DrawCommand: public studio::UndoCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void redo() noexcept final {
|
void redo() noexcept final {
|
||||||
for (const auto &c : m_changes
|
for (const auto &c : m_changes) {
|
||||||
) {
|
|
||||||
m_img->setPixel(c.idx, m_palIdx);
|
m_img->setPixel(c.idx, m_palIdx);
|
||||||
}
|
}
|
||||||
*m_modelUpdated = true;
|
*m_modelUpdated = true;
|
||||||
|
Reference in New Issue
Block a user