mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
16bed7b426
commit
7a4ed670ee
@ -1095,6 +1095,19 @@ stretching in width... */
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.overlay-info .gid:before,
|
||||||
|
.overlay-info .gid:after {
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
.overlay-info .gid:before {
|
||||||
|
content: "(";
|
||||||
|
}
|
||||||
|
.overlay-info .gid:after {
|
||||||
|
content: ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* XXX REUSE: this is the same as selected/bookmarked image markers... */
|
/* XXX REUSE: this is the same as selected/bookmarked image markers... */
|
||||||
.overlay-info .marked,
|
.overlay-info .marked,
|
||||||
.overlay-info .marked:after,
|
.overlay-info .marked:after,
|
||||||
|
|||||||
@ -252,7 +252,13 @@ module.GLOBAL_KEYBOARD = {
|
|||||||
shift: 'openInExtenalEditor: 1 -- Open in alternative editor',
|
shift: 'openInExtenalEditor: 1 -- Open in alternative editor',
|
||||||
alt: 'listExtenalEditors',
|
alt: 'listExtenalEditors',
|
||||||
},
|
},
|
||||||
C: 'browseActions: "/Crop/" -- Show crop menu',
|
C: {
|
||||||
|
default: 'browseActions: "/Crop/" -- Show crop menu',
|
||||||
|
// do the default copy thing...
|
||||||
|
// NOTE: this stops the default: handler from getting the ctrl:
|
||||||
|
// key case...
|
||||||
|
ctrl: '',
|
||||||
|
},
|
||||||
O: 'browsePath',
|
O: 'browsePath',
|
||||||
S: {
|
S: {
|
||||||
default: 'slideshowDialog',
|
default: 'slideshowDialog',
|
||||||
|
|||||||
@ -210,8 +210,15 @@ var StatusBarActions = actions.Actions({
|
|||||||
: type == 'path'? 'Image filename/path'
|
: type == 'path'? 'Image filename/path'
|
||||||
: '')
|
: '')
|
||||||
.append($('<span class="shown">'))
|
.append($('<span class="shown">'))
|
||||||
// XXX would be nice to make triple click select this as unit...
|
.append($('<span class="hidden">')
|
||||||
.append($('<span class="hidden">'))
|
// select the text...
|
||||||
|
// XXX should this also copy???
|
||||||
|
.click(function(){
|
||||||
|
window.getSelection().removeAllRanges()
|
||||||
|
var range = document.createRange()
|
||||||
|
range.selectNodeContents(this)
|
||||||
|
window.getSelection().addRange(range)
|
||||||
|
}))
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
var type = item.attr('type')
|
var type = item.attr('type')
|
||||||
|
|||||||
@ -32,6 +32,15 @@ Object.get = function(obj, name, dfl){
|
|||||||
Array.prototype.compact = function(){
|
Array.prototype.compact = function(){
|
||||||
return this.filter(function(){ return true })
|
return this.filter(function(){ return true })
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
Array.prototype.compact = function(){
|
||||||
|
var res = []
|
||||||
|
for(var i in res){
|
||||||
|
res.push(this[i])
|
||||||
|
}
|
||||||
|
return res
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// return an array with duplicate elements removed...
|
// return an array with duplicate elements removed...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user