mirror of
https://github.com/rhaleblian/dslibris.git
synced 2025-06-18 16:55:41 -04:00
Assure current page is remembered.
This commit is contained in:
parent
6edbdec9ee
commit
292dac2d09
@ -35,6 +35,7 @@ void App::HandleEventInBook()
|
||||
bookcurrent->SetPosition(pagecurrent);
|
||||
bookcurrent->GetPage()->Draw(ts);
|
||||
}
|
||||
prefs->Write();
|
||||
}
|
||||
|
||||
else if (key.downrepeat & (KEY_B|key.l|key.up))
|
||||
@ -46,6 +47,7 @@ void App::HandleEventInBook()
|
||||
bookcurrent->SetPosition(pagecurrent);
|
||||
bookcurrent->GetPage()->Draw(ts);
|
||||
}
|
||||
prefs->Write();
|
||||
}
|
||||
|
||||
uint32 keys = keysDown();
|
||||
@ -104,6 +106,7 @@ void App::HandleEventInBook()
|
||||
bookcurrent->GetPage()->Draw(ts);
|
||||
}
|
||||
}
|
||||
prefs->Write();
|
||||
}
|
||||
|
||||
else if (keys & KEY_SELECT)
|
||||
|
Loading…
Reference in New Issue
Block a user