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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user