diff --git a/ui/TODO.otl b/ui/TODO.otl index 12c22eb7..3106ac2a 100755 --- a/ui/TODO.otl +++ b/ui/TODO.otl @@ -121,8 +121,6 @@ Roadmap | prior sizing after recycling... | ...check if centerRibbon(...) and correctImageProportionsForRotation(...) | are called in right sequence... - [_] BUG: jumping screen images does not load the adjacent ribbons... - | positioning is OK but ribbons are not fully visible... [_] BUG: changing window size (F11) in single image modes messes things up... | some images are of different sizes (newly loaded) and aligned in a wrong way... | @@ -138,6 +136,8 @@ Roadmap | appears to be a state leak, this affects: | - correctImageProportionsForRotation(image) -- mis-alignes images | while after cycling single image mode, behaves correctly... + [_] BUG: jumping screen images does not load the adjacent ribbons... + | positioning is OK but ribbons are not fully visible... [_] ASAP: test on Android... [_] 0% Tablet UI [_] screen buttons diff --git a/ui/data.js b/ui/data.js index 648429f6..ff8343af 100755 --- a/ui/data.js +++ b/ui/data.js @@ -1482,5 +1482,6 @@ function shiftImageRight(image){ + /********************************************************************** * vim:set ts=4 sw=4 spell : */ diff --git a/ui/keybindings.js b/ui/keybindings.js index 7f1770e7..4f1924f9 100755 --- a/ui/keybindings.js +++ b/ui/keybindings.js @@ -482,6 +482,7 @@ var KEYBOARD_CONFIG = { }) }, + E: doc('Open image in external software', openImage), F4: { default: 'E', diff --git a/ui/modes.js b/ui/modes.js index f0135527..41adb86b 100755 --- a/ui/modes.js +++ b/ui/modes.js @@ -251,58 +251,6 @@ var toggleInlineImageInfo = createCSSClassToggler('.viewer', }) -// NOTE: this confirmsto the css toggler protocol, but is not implemented -// via createCSSClassToggler as we do not need to set any classes, -// al least at this point... -// XXX should we use the createCSSClassToggler for this? -// XXX revise: does extra stuff... -/* -function toggleImageProportions(mode){ - // normal images... - var image = $('.image') - var h = image.outerHeight(true) - var w = image.outerWidth(true) - - if(mode == '?'){ - return h != w ? 'viewer' : 'square' - - // square... - } else if(h != w || mode == 'square'){ - mode = 'square' - var size = Math.min(w, h) - image.css({ - width: size, - height: size - }) - - // account for rotation... - correctImageProportionsForRotation(image) - - centerView(null, 'css') - - // viewer size... - } else { - mode = 'viewer' - var viewer = $('.viewer') - var W = viewer.innerWidth() - var H = viewer.innerHeight() - - if(W > H){ - image.css('width', W * h/H) - } else { - image.css('height', H * w/W) - } - - // account for rotation... - correctImageProportionsForRotation(image) - - centerView(null, 'css') - } - - return mode -} -*/ - var toggleImageProportions = createCSSClassToggler('.viewer', [ 'fit-square',