mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
manual-animation: 'u' now can clear the whole recording
This commit is contained in:
parent
541448ca38
commit
689adb8681
@ -339,10 +339,10 @@ bool trailer_handleKey(int sym, int uni) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sym == 'u' && isize(saved) > 40) {
|
if(sym == 'u') {
|
||||||
for(int i=0; i<30; i++) saved.pop_back();
|
for(int i=0; i<30; i++) if(isize(saved)) saved.pop_back();
|
||||||
println(hlog, "back to ", isize(saved), " frames");
|
println(hlog, "back to ", isize(saved), " frames");
|
||||||
recall();
|
if(isize(saved)) recall();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user