mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor bug fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1b0ec0011c
commit
aba11b5e0a
@ -44,6 +44,7 @@ var makeStateIndicatorItem = function(container, type, text){
|
|||||||
// XXX revise how/where info is displayed...
|
// XXX revise how/where info is displayed...
|
||||||
var StatusBarActions = actions.Actions({
|
var StatusBarActions = actions.Actions({
|
||||||
config: {
|
config: {
|
||||||
|
// XXX for some reason this does not load as default...
|
||||||
'status-bar-mode': 'minimal',
|
'status-bar-mode': 'minimal',
|
||||||
'status-bar-modes': [
|
'status-bar-modes': [
|
||||||
'none',
|
'none',
|
||||||
@ -220,6 +221,7 @@ var StatusBarActions = actions.Actions({
|
|||||||
var bar = this.ribbons.viewer.find('.state-indicator-container.global-info')
|
var bar = this.ribbons.viewer.find('.state-indicator-container.global-info')
|
||||||
if(bar.length == 0){
|
if(bar.length == 0){
|
||||||
bar = makeStateIndicator('global-info overlay-info')
|
bar = makeStateIndicator('global-info overlay-info')
|
||||||
|
.addClass(this.config['status-bar-mode'] || '')
|
||||||
.on('mouseover', function(){
|
.on('mouseover', function(){
|
||||||
var t = $(event.target)
|
var t = $(event.target)
|
||||||
|
|
||||||
@ -358,9 +360,7 @@ module.StatusBar = core.ImageGridFeatures.Feature({
|
|||||||
handlers: [
|
handlers: [
|
||||||
['start',
|
['start',
|
||||||
function(){
|
function(){
|
||||||
if(this.config['status-bar-mode']){
|
this.toggleStatusBar(this.config['status-bar-mode'])
|
||||||
this.toggleStatusBar(this.config['status-bar-mode'])
|
|
||||||
}
|
|
||||||
}],
|
}],
|
||||||
['focusImage',
|
['focusImage',
|
||||||
function(){
|
function(){
|
||||||
|
|||||||
@ -18,6 +18,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"commander": "^2.9.0",
|
"commander": "^2.9.0",
|
||||||
|
"exiftool": "0.0.3",
|
||||||
"flickrapi": "^0.3.28",
|
"flickrapi": "^0.3.28",
|
||||||
"fs-extra": "*",
|
"fs-extra": "*",
|
||||||
"fs-walk": "0.0.1",
|
"fs-walk": "0.0.1",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user