mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
fixed bug with app buttons and mark indicator...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
26a5a6ba43
commit
acaf471f49
@ -559,7 +559,7 @@ var AppButtonsActions = actions.Actions({
|
|||||||
{
|
{
|
||||||
'_': ['minimize',
|
'_': ['minimize',
|
||||||
'minimize -- Minimize'],
|
'minimize -- Minimize'],
|
||||||
'↙': ['fullscreen',
|
'↙': ['fullscreen allways-shown',
|
||||||
'toggleFullScreen -- Toggle fullscreen'],
|
'toggleFullScreen -- Toggle fullscreen'],
|
||||||
'×': ['close',
|
'×': ['close',
|
||||||
'close -- Quit'],
|
'close -- Quit'],
|
||||||
|
|||||||
@ -443,7 +443,7 @@ var StatusBarActions = actions.Actions({
|
|||||||
if(typeof(item) == typeof('str')){
|
if(typeof(item) == typeof('str')){
|
||||||
var type = item
|
var type = item
|
||||||
item = $('<span>')
|
item = $('<span>')
|
||||||
.addClass(type + 'ed '+ type)
|
.addClass(type + 'ed')
|
||||||
.attr('info', 'Image '
|
.attr('info', 'Image '
|
||||||
+(type == 'mark' ? 'selection' : 'bookmark')
|
+(type == 'mark' ? 'selection' : 'bookmark')
|
||||||
+' status (click to toggle)')
|
+' status (click to toggle)')
|
||||||
@ -662,7 +662,7 @@ var StatusBarActions = actions.Actions({
|
|||||||
}
|
}
|
||||||
|
|
||||||
var gid = this.current
|
var gid = this.current
|
||||||
var item = this.dom.find(`.state-indicator-container.global-info .${type}`)
|
var item = this.dom.find(`.state-indicator-container.global-info [type=${type}]`)
|
||||||
|
|
||||||
// blink the indicator...
|
// blink the indicator...
|
||||||
item
|
item
|
||||||
|
|||||||
@ -1942,7 +1942,6 @@ module.ContextActionMenu = core.ImageGridFeatures.Feature({
|
|||||||
.focusImage(gid)
|
.focusImage(gid)
|
||||||
.browseActions('/Image/')
|
.browseActions('/Image/')
|
||||||
}],
|
}],
|
||||||
// XXX FireFox: get actual event...
|
|
||||||
['imageOuterBlockMenu.pre',
|
['imageOuterBlockMenu.pre',
|
||||||
function(gid){
|
function(gid){
|
||||||
// only show image menu in ribbon mode...
|
// only show image menu in ribbon mode...
|
||||||
@ -2039,7 +2038,7 @@ var ButtonsActions = actions.Actions({
|
|||||||
},
|
},
|
||||||
|
|
||||||
'app-buttons': {
|
'app-buttons': {
|
||||||
[SETTINGS_ICON]: ['ui-settings', [
|
[SETTINGS_ICON]: ['ui-settings allways-shown', [
|
||||||
'browseActions: "Interface/" -- Interface settings...',
|
'browseActions: "Interface/" -- Interface settings...',
|
||||||
'toggleSideButtons -- Toggle touch controls',
|
'toggleSideButtons -- Toggle touch controls',
|
||||||
]],
|
]],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user