From 169e9a6d45f764489ea181fcf923e3e4308706d8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 24 Apr 2016 14:52:52 +0300 Subject: [PATCH] some cleanup... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-single-image.js | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/ui (gen4)/features/ui-single-image.js b/ui (gen4)/features/ui-single-image.js index 63ce032c..05aabdcf 100755 --- a/ui (gen4)/features/ui-single-image.js +++ b/ui (gen4)/features/ui-single-image.js @@ -54,22 +54,7 @@ var core = require('features/core') // +---------------+ // // -// D) -// image -// + - - - - - - - + -// . . -// +---------------+ -// | viewer | - image bigger than viewer in one dimension -// | ^ | - block grows to fit image proportions -// | | | - need to account for individual image -// | v | proportions -// | | - drag enabled -// +---------------+ -// . . -// + - - - - - - - + -// -// -// E) +// D) // image // + - - - - - - - - - + // . . @@ -88,6 +73,7 @@ var core = require('features/core') // XXX .ribbons.correctImageProportionsForRotation(..) might be working // incorrectly... // ...when scaling a horizontal image, the thing starts jumping around.... +// XXX alignment issues in some orientations... function updateImageProportions(){ var that = this var threshold = this.config['single-image-proportions-threshold'] || 2