some tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-06-08 15:10:58 +04:00
parent 948abeaa85
commit 32d2ae8828
4 changed files with 21 additions and 9 deletions

View File

@ -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:

View File

@ -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()

View File

@ -10,6 +10,7 @@
.expanding-text:hover .shown {
display: none;
}
.expanding-text .shown,
.expanding-text:hover .hidden {
display: inline;
}

View File

@ -56,6 +56,7 @@
.expanding-text:hover .shown {
display: none;
}
.expanding-text .shown,
.expanding-text:hover .hidden {
display: inline;
}