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