mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-30 21:09:19 +01:00
Fix RainbowAction.
This commit is contained in:
parent
04a8f1d3d2
commit
ec82662b10
@ -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() {
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,6 @@ class RainbowAction : public PaintAction {
|
||||
|
||||
public:
|
||||
void do_action(PaintCanvas *canvas, const Array &data);
|
||||
void commit_action(PaintCanvas *canvas);
|
||||
|
||||
RainbowAction();
|
||||
~RainbowAction();
|
||||
|
Loading…
Reference in New Issue
Block a user