From ac217c1c1f0c2f961dc799ad582f41a096592b26 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 18 Dec 2018 14:56:11 -0500 Subject: #765 - don't flip for 180 too --- www/js/EventCtrl.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'www/js') 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; -- cgit v1.2.3