tour:: slide_restore_all() on pmStop

This commit is contained in:
Zeno Rogue 2020-09-11 11:19:19 +02:00
parent 3311809e01
commit c816137f8b
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,7 @@ EX void presentation(presmode mode) {
slides[currentslide].action(mode);
callhooks(hooks_slide, mode);
if(mode == pmStop) slide_restore_all();
}
string parent_folder(const string& s) {
@ -194,6 +195,7 @@ bool handleKeyTour(int sym, int uni) {
}
if(flags & FINALSLIDE) return true;
presentation(pmStop);
slide_restore_all();
currentslide++;
presentation(pmStart);
slidehelp();