document aspect ratio enum

This commit is contained in:
Tamius Han 2020-10-21 19:46:25 +02:00
parent 4f478a4667
commit 47475ac597

View File

@ -1,10 +1,11 @@
var AspectRatio = Object.freeze({ var AspectRatio = Object.freeze({
Initial: -1, Initial: -1, // page default
Reset: 0, Reset: 0, // reset to initial
Automatic: 1, Automatic: 1, // set by Aard
FitWidth: 2, FitWidth: 2, // legacy/dynamic: fit to width
FitHeight: 3, FitHeight: 3, // legacy/dynamic: fit to height
Fixed: 4, Fixed: 4, // pre-determined aspect ratio
Manual: 5, // ratio achieved by zooming in/zooming out
}); });
export default AspectRatio; export default AspectRatio;