From 47475ac597c9fde2ccffca84423b0777bb7df899 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Wed, 21 Oct 2020 19:46:25 +0200 Subject: [PATCH] document aspect ratio enum --- src/common/enums/aspect-ratio.enum.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/common/enums/aspect-ratio.enum.js b/src/common/enums/aspect-ratio.enum.js index 9337b9e..95c92f1 100644 --- a/src/common/enums/aspect-ratio.enum.js +++ b/src/common/enums/aspect-ratio.enum.js @@ -1,10 +1,11 @@ var AspectRatio = Object.freeze({ - Initial: -1, - Reset: 0, - Automatic: 1, - FitWidth: 2, - FitHeight: 3, - Fixed: 4, + Initial: -1, // page default + Reset: 0, // reset to initial + Automatic: 1, // set by Aard + FitWidth: 2, // legacy/dynamic: fit to width + FitHeight: 3, // legacy/dynamic: fit to height + Fixed: 4, // pre-determined aspect ratio + Manual: 5, // ratio achieved by zooming in/zooming out }); export default AspectRatio;