1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-07 10:52:23 +00:00

texture:: undo clears pixels_to_draw; the number of pixels_to_draw displayed in the editor

This commit is contained in:
Zeno Rogue
2018-06-17 12:06:01 +02:00
parent 69429ba4d4
commit f699f73f1a
2 changed files with 3 additions and 0 deletions

View File

@@ -1269,6 +1269,7 @@ void fillpixel(int x, int y, unsigned col) {
}
void texture_data::undo() {
texture::config.data.pixels_to_draw.clear();
while(!undos.empty()) {
auto p = undos.back();
undos.pop_back();