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
80ac4b03e1
commit
f4613dc662
@ -247,7 +247,7 @@ function makeLogRange(text, filter, target){
|
||||
|
||||
|
||||
function makeFilterPanel(parent, target){
|
||||
return makeSubPanel('Filters', true, parent)
|
||||
return makeSubPanel('Edit: Filters', true, parent)
|
||||
.find('.sub-panel-content')
|
||||
.append($('<div class="filter-list"/>')
|
||||
//.append(makeLogRange('Gamma:', 'gamma', target))
|
||||
@ -285,7 +285,7 @@ function makeFilterPanel(parent, target){
|
||||
}
|
||||
|
||||
function makeSnapshotsPanel(parent, target){
|
||||
return makeSubPanel('Snapshots', true, parent)
|
||||
return makeSubPanel('Edit: Snapshots', true, parent)
|
||||
.find('.sub-panel-content')
|
||||
.append($('<div class="states"/>'))
|
||||
.append($('<hr>'))
|
||||
|
||||
@ -102,7 +102,7 @@ function setupDataBindings(viewer){
|
||||
// NOTE: this can return null in certain cases (see docs)
|
||||
var gid_before = getGIDBefore(gid, r)
|
||||
// we'll set the image to the first if the align target is
|
||||
// before it...
|
||||
// before it (i.e. gid_before is null)...
|
||||
var img_before = gid_before == null
|
||||
? ribbon.find('.image').first()
|
||||
: getImageBefore(image, ribbon)
|
||||
|
||||
@ -192,12 +192,16 @@ function selectByTags(tags, tagset){
|
||||
|
||||
|
||||
function getTags(gid){
|
||||
// XXX should we do any more checking here?
|
||||
return IMAGES[gid].tags
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// XXX don't remember the semantics...
|
||||
function getRelatedTags(){
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user