Fix RainbowAction.

This commit is contained in:
Relintai 2022-06-21 19:40:47 +02:00
parent 04a8f1d3d2
commit ec82662b10
2 changed files with 0 additions and 7 deletions

View File

@ -71,12 +71,6 @@ void RainbowAction::do_action(PaintCanvas *canvas, const Array &data) {
}
}
void RainbowAction::commit_action(PaintCanvas *canvas) {
for (int idx = 0; idx < undo_cells.size(); ++idx) {
canvas->_set_pixel_v(layer, undo_cells[idx], undo_colors[idx]);
}
}
RainbowAction::RainbowAction() {
}

View File

@ -34,7 +34,6 @@ class RainbowAction : public PaintAction {
public:
void do_action(PaintCanvas *canvas, const Array &data);
void commit_action(PaintCanvas *canvas);
RainbowAction();
~RainbowAction();