some notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-02-14 04:05:50 +03:00
parent d51e524f42
commit 71faf29359

View File

@ -72,6 +72,8 @@ var ImageStateIndicatorActions = actions.Actions({
'global-state-indicator-mode': null, 'global-state-indicator-mode': null,
}, },
// Status indicator handlers...
//
// Format: // Format:
// { // {
// <key>: <handler>, // <key>: <handler>,
@ -95,6 +97,7 @@ var ImageStateIndicatorActions = actions.Actions({
// - goto position on enter/blur (blur with value) // - goto position on enter/blur (blur with value)
// - cancel on esc/blur (blur with no value) // - cancel on esc/blur (blur with no value)
// - treat index depending on mode (global/ribbon) // - treat index depending on mode (global/ribbon)
// XXX might be a good idea to auto-reset global index to ribbon...
index: function(action, container, elem, gid){ index: function(action, container, elem, gid){
var that = this var that = this
// construct... // construct...
@ -356,6 +359,10 @@ module.ImageStateIndicator = core.ImageGridFeatures.Feature({
}], }],
[[ [[
'focusImage', 'focusImage',
// XXX these might not be the right way to go because these
// will get triggered on batch operations and the such...
// ...one way to fix this is to test if it's the current
// image being updated and do nothing otherwise...
'tag', 'tag',
'untag', 'untag',
], ],