Skip to content

ZIM 1.4.0

Compare
Choose a tag to compare
@danzen danzen released this 07 Mar 03:47
· 361 commits to master since this release

Adds a Frame module to simplify the start template for ZIM projects. The Frame class in the Frame module handles making the canvas and the stage as well as scaling the stage in a variety of ways - full, fit, outside, and none. The Frame object provides events for rescaling and orientation change as well as stage, stageW, stateH, and orientation properties. There is also a redrawCanvas to completely redraw the canvas and make a new stage if desired. Usually you can handle this with the full scaling setting but redrawCanvas could be handy for orientation changes in the fit, outside and none modes.