mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 03:40:09 +00:00
added several key-bindings, some work on saving state...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
92fd990961
commit
7bdc575a05
@ -1,17 +1,19 @@
|
|||||||
[_] 9% Gen 3 current todo
|
[_] 16% Gen 3 current todo
|
||||||
[_] 19% High priority
|
[_] 33% High priority
|
||||||
|
[_] 0% Undo/Redo
|
||||||
|
[_] push/pop state stack
|
||||||
[_] 0% image load and positioning must be fool proof
|
[_] 0% image load and positioning must be fool proof
|
||||||
[_] 0% gesture support
|
[_] 0% gesture support
|
||||||
[_] 0% styles
|
[_] 0% CSS
|
||||||
[_] cleanup
|
[_] cleanup
|
||||||
[_] split themes and layout
|
[_] split themes and layout
|
||||||
|
[X] 100% modes
|
||||||
|
[X] ribbon
|
||||||
|
[X] single-image
|
||||||
[_] 0% themes
|
[_] 0% themes
|
||||||
[_] light
|
[_] light
|
||||||
[_] gray
|
[_] gray
|
||||||
[_] dark
|
[_] dark
|
||||||
[X] 100% action visual indication
|
|
||||||
[X] first/last image
|
|
||||||
[X] shift up/down
|
|
||||||
[_] 0% tweak loader
|
[_] 0% tweak loader
|
||||||
[_] thresholds and frame size
|
[_] thresholds and frame size
|
||||||
[_] remove extra and repetitive actions
|
[_] remove extra and repetitive actions
|
||||||
@ -20,6 +22,10 @@
|
|||||||
[X] indicators
|
[X] indicators
|
||||||
[_] image number
|
[_] image number
|
||||||
[_] detailed image info
|
[_] detailed image info
|
||||||
|
[X] Save/load state
|
||||||
|
[X] 100% action visual indication
|
||||||
|
[X] first/last image
|
||||||
|
[X] shift up/down
|
||||||
[_] Low priority
|
[_] Low priority
|
||||||
[_] Help
|
[_] Help
|
||||||
[_] Keyboard config
|
[_] Keyboard config
|
||||||
|
|||||||
@ -640,10 +640,12 @@ function centerRibbons(mode, no_skip_current){
|
|||||||
function clickHandler(evt){
|
function clickHandler(evt){
|
||||||
var img = $(evt.target).closest('.image')
|
var img = $(evt.target).closest('.image')
|
||||||
|
|
||||||
|
if(img.filter(NAV_VISIBLE).length > 0){
|
||||||
centerView(focusImage(img))
|
centerView(focusImage(img))
|
||||||
|
|
||||||
centerRibbons()
|
centerRibbons()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// XXX for some reason this messes up alignment for the initial view...
|
// XXX for some reason this messes up alignment for the initial view...
|
||||||
|
|||||||
@ -263,7 +263,10 @@ body {
|
|||||||
/* XXX for some reason this breaks the alignment on large magnifications...
|
/* XXX for some reason this breaks the alignment on large magnifications...
|
||||||
display: none;
|
display: none;
|
||||||
*/
|
*/
|
||||||
|
visibility: hidden;
|
||||||
|
/* XXX this makes images pass through the :visible filter...
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -148,6 +148,19 @@ var KEYBOARD_CONFIG = {
|
|||||||
centerRibbons()
|
centerRibbons()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
S: {
|
||||||
|
ctrl: function(){
|
||||||
|
saveLocalStorage()
|
||||||
|
saveLocalStorageMarks()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Z: {
|
||||||
|
ctrl: function(){
|
||||||
|
loadLocalStorage()
|
||||||
|
loadLocalStorageMarks()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
// marking...
|
// marking...
|
||||||
// XXX not final, think of a better way to do this...
|
// XXX not final, think of a better way to do this...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user