mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00: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'],
|
||||
'↙': ['fullscreen',
|
||||
'↙': ['fullscreen allways-shown',
|
||||
'toggleFullScreen -- Toggle fullscreen'],
|
||||
'×': ['close',
|
||||
'close -- Quit'],
|
||||
|
||||
@ -443,7 +443,7 @@ var StatusBarActions = actions.Actions({
|
||||
if(typeof(item) == typeof('str')){
|
||||
var type = item
|
||||
item = $('<span>')
|
||||
.addClass(type + 'ed '+ type)
|
||||
.addClass(type + 'ed')
|
||||
.attr('info', 'Image '
|
||||
+(type == 'mark' ? 'selection' : 'bookmark')
|
||||
+' status (click to toggle)')
|
||||
@ -662,7 +662,7 @@ var StatusBarActions = actions.Actions({
|
||||
}
|
||||
|
||||
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...
|
||||
item
|
||||
|
||||
@ -1942,7 +1942,6 @@ module.ContextActionMenu = core.ImageGridFeatures.Feature({
|
||||
.focusImage(gid)
|
||||
.browseActions('/Image/')
|
||||
}],
|
||||
// XXX FireFox: get actual event...
|
||||
['imageOuterBlockMenu.pre',
|
||||
function(gid){
|
||||
// only show image menu in ribbon mode...
|
||||
@ -2039,7 +2038,7 @@ var ButtonsActions = actions.Actions({
|
||||
},
|
||||
|
||||
'app-buttons': {
|
||||
[SETTINGS_ICON]: ['ui-settings', [
|
||||
[SETTINGS_ICON]: ['ui-settings allways-shown', [
|
||||
'browseActions: "Interface/" -- Interface settings...',
|
||||
'toggleSideButtons -- Toggle touch controls',
|
||||
]],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user