Repository navigation
Engine v2.5
Engine v2.5
Full screen that is worth pressing, and phones that turn to the lesson. Books made with v2 need no change.
Full screen
- In full screen (the button or F) the stage fills the screen. The controls lie over its foot and fade out: they come back while the pointer moves or a key is pressed, for 2.5 s after, while the chapter is paused or ended, and while the pointer is on them. The pointer hides with them. Before, full screen kept the windowed layout, so on a maximised browser it changed almost nothing.
- A touch screen has no hover to bring the controls back, and a tap that answers a question would have covered the card with them, so there full screen keeps the controls under the stage at full size.
Phones turn to the stage (thanks to @titulartarantula, #18)
- Full screen also locks the screen to the stage's orientation where the browser allows it: Android browsers, which lock orientation only in full screen. iOS has no orientation lock, so nothing changes there.
- On a phone (a coarse pointer, short side up to 600 px) held across the stage's orientation, starting the chapter goes full screen that way, so a landscape lesson is no longer a thin strip on an upright phone. An upright stage (
data-stage="portrait") locks to portrait. Leaving full screen unlocks it; a missing Fullscreen API or a refused lock is ignored and the chapter starts as before.
Syncing
engine.py in the Skill syncs from the latest compatible release, now engine-v2.5.