diff --git a/ui/TODO.otl b/ui/TODO.otl index 97bb9fdd..1e99c16c 100755 --- a/ui/TODO.otl +++ b/ui/TODO.otl @@ -90,8 +90,8 @@ Roadmap -[_] 27% Gen 3 current todo - [_] 54% High priority +[_] 24% Gen 3 current todo + [_] 49% High priority [_] usable empty view -- w.o. data... [_] 0% Tablet UI [_] screen buttons @@ -163,6 +163,7 @@ Roadmap | jumping to end from start of ribbon [_] side-by side view... [_] ASAP: test on Android... + [X] build for windows (node-webkit) [_] single image mode transition (alpha-blend/fade/none) [_] 75% image sorting (date/name/...) [X] 100% sort by: diff --git a/ui/index.html b/ui/index.html index fb80cb77..c1add00b 100755 --- a/ui/index.html +++ b/ui/index.html @@ -80,9 +80,19 @@ var SCROLLER_ENABLED = true // setup... $(function(){ + // NOTE: keep this as early as possible... + $(document) + .keydown(makeKeyboardHandler( + KEYBOARD_CONFIG, + function(k){ + window.DEBUG && console.log(k) + })) + // defaults... toggleTheme('gray') toggleImageInfo('on') + // XXX this needs at least an image loaded... + //toggleImageProportions('fit-viewer') setupIndicators() autoHideCursor($('.viewer')) @@ -107,6 +117,12 @@ $(function(){ // ...have to benchmark to see which is better... transitionDuration: 0, transitionEasing: 'liner', + + // keep selectable elements selectable... + ignoreElements: '.noScroll, '+ + '.image .inline-image-info, '+ + '.overlay-info, '+ + '', }) .start() @@ -153,13 +169,6 @@ $(function(){ centerView() }) - $(document) - .keydown(makeKeyboardHandler( - KEYBOARD_CONFIG, - function(k){ - window.DEBUG && console.log(k) - })) - setupDataBindings() diff --git a/ui/layout.css b/ui/layout.css index 84d06ec8..fe064d99 100644 --- a/ui/layout.css +++ b/ui/layout.css @@ -10,6 +10,7 @@ .expanding-text:hover .shown { display: none; } +.expanding-text .shown, .expanding-text:hover .hidden { display: inline; } diff --git a/ui/layout.less b/ui/layout.less index 125f99c3..3eaa5566 100755 --- a/ui/layout.less +++ b/ui/layout.less @@ -56,6 +56,7 @@ .expanding-text:hover .shown { display: none; } +.expanding-text .shown, .expanding-text:hover .hidden { display: inline; }