mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 03:40:09 +00:00
fixed marking action...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
cab455a463
commit
1e8799042a
@ -21,6 +21,11 @@
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
.browse:not(:focus) {
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
*/
|
||||||
.browse .v-block {
|
.browse .v-block {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
@ -62,6 +67,15 @@
|
|||||||
.browse .path .dir:after {
|
.browse .path .dir:after {
|
||||||
content: "/";
|
content: "/";
|
||||||
}
|
}
|
||||||
|
/* XXX need to make this resizable up but only to a certain size (~80vh) */
|
||||||
|
/*
|
||||||
|
.browse .list {
|
||||||
|
max-height: 50vh;
|
||||||
|
}
|
||||||
|
.browse .list:empty {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
*/
|
||||||
.browse .list div {
|
.browse .list div {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
@ -110,6 +124,25 @@ var TREE = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
file: 'this is a file',
|
file: 'this is a file',
|
||||||
|
/*
|
||||||
|
dir_d: {},
|
||||||
|
dir_e: {},
|
||||||
|
dir_f: {},
|
||||||
|
dir_g: {},
|
||||||
|
dir_h: {},
|
||||||
|
dir_i: {},
|
||||||
|
dir_j: {},
|
||||||
|
dir_k: {},
|
||||||
|
dir_l: {},
|
||||||
|
dir_m: {},
|
||||||
|
dir_o: {},
|
||||||
|
dir_p: {},
|
||||||
|
dir_q: {},
|
||||||
|
dir_r: {},
|
||||||
|
dir_s: {},
|
||||||
|
dir_t: {},
|
||||||
|
dir_u: {},
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
// add some recursion for testing...
|
// add some recursion for testing...
|
||||||
TREE.dir_d = TREE.dir_c.dir_b
|
TREE.dir_d = TREE.dir_c.dir_b
|
||||||
|
|||||||
@ -714,31 +714,11 @@ var KEYBOARD_CONFIG = {
|
|||||||
// NOTE: marking does not change move direction...
|
// NOTE: marking does not change move direction...
|
||||||
// XXX should this toggle or set mark to on?
|
// XXX should this toggle or set mark to on?
|
||||||
default: doc('Mark current image and advance',
|
default: doc('Mark current image and advance',
|
||||||
function(){
|
function(){ toggleMark() }),
|
||||||
toggleMark('on')
|
|
||||||
directionImage()
|
|
||||||
// XXX do we need this???
|
|
||||||
//if(getImage().filter(':visible').length == 0){
|
|
||||||
// centerView(focusImage(getImageBefore()))
|
|
||||||
//}
|
|
||||||
centerRibbons()
|
|
||||||
}),
|
|
||||||
// same as default but in reverse direction...
|
|
||||||
shift: doc('Mark current image and return',
|
|
||||||
function(){
|
|
||||||
toggleMark('on')
|
|
||||||
directionImage(true)
|
|
||||||
// XXX do we need this???
|
|
||||||
//if(getImage().filter(':visible').length == 0){
|
|
||||||
// centerView(focusImage(getImageBefore()))
|
|
||||||
//}
|
|
||||||
centerRibbons()
|
|
||||||
}),
|
|
||||||
ctrl: doc('Show mark dialog', function(){ markImagesDialog() }),
|
ctrl: doc('Show mark dialog', function(){ markImagesDialog() }),
|
||||||
},
|
},
|
||||||
Ins: doc('Toggle mark on current image', function(){ toggleMark() }),
|
Ins: doc('Toggle mark on current image', function(){ toggleMark() }),
|
||||||
'invert-marks': doc('Invert image marks',
|
'invert-marks': doc('Invert image marks', function(){ invertImageMarks() }),
|
||||||
function(){ invertImageMarks() }),
|
|
||||||
A: {
|
A: {
|
||||||
// XXX does not yet work with DATA (???)
|
// XXX does not yet work with DATA (???)
|
||||||
//shift: doc('Toggle marks in current contagious block',
|
//shift: doc('Toggle marks in current contagious block',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user