diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-12-18 14:56:11 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-12-18 14:56:11 -0500 |
| commit | ac217c1c1f0c2f961dc799ad582f41a096592b26 (patch) | |
| tree | 5a854fd4ef775a688db0d91c0a12018724e275d3 /www | |
| parent | 03934c48067fc485b56ef25ec93b302451bdd5c5 (diff) | |
#765 - don't flip for 180 too
Diffstat (limited to 'www')
| -rw-r--r-- | www/js/EventCtrl.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 157f47d8..b3741489 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -2855,7 +2855,18 @@ angular.module('zmApp.controllers') h: 0 }; - if (mo != 0) { + + /* seems I really should be using strings due to horz and very + but luckily parseInt will make them 0 which gets treated as "nothing to do" + '0' => translate('Normal'), + '90' => translate('RotateRight'), + '180' => translate('Inverted'), + '270' => translate('RotateLeft'), + 'horz' => translate('FlippedHori'), + 'vert' => translate('FlippedVert') + + */ + if (mo != 0 && mo != 180) { var tmp = mw; mw = mh; |
