mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-12 21:27:41 +00:00
tour:: slide_restore_all() on pmStop
This commit is contained in:
2
tour.cpp
2
tour.cpp
@@ -134,6 +134,7 @@ EX void presentation(presmode mode) {
|
|||||||
|
|
||||||
slides[currentslide].action(mode);
|
slides[currentslide].action(mode);
|
||||||
callhooks(hooks_slide, mode);
|
callhooks(hooks_slide, mode);
|
||||||
|
if(mode == pmStop) slide_restore_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
string parent_folder(const string& s) {
|
string parent_folder(const string& s) {
|
||||||
@@ -194,6 +195,7 @@ bool handleKeyTour(int sym, int uni) {
|
|||||||
}
|
}
|
||||||
if(flags & FINALSLIDE) return true;
|
if(flags & FINALSLIDE) return true;
|
||||||
presentation(pmStop);
|
presentation(pmStop);
|
||||||
|
slide_restore_all();
|
||||||
currentslide++;
|
currentslide++;
|
||||||
presentation(pmStart);
|
presentation(pmStart);
|
||||||
slidehelp();
|
slidehelp();
|
||||||
|
Reference in New Issue
Block a user