mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
56a8832876
commit
9b84b686ab
@ -246,7 +246,7 @@ module.AppControl = core.ImageGridFeatures.Feature({
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// Fullscreen app control buttons...
|
||||
var AppControllsActions = actions.Actions({
|
||||
var AppButtonsActions = actions.Actions({
|
||||
config: {
|
||||
'app-buttons': {
|
||||
// XXX not sure about this...
|
||||
@ -262,8 +262,8 @@ var AppControllsActions = actions.Actions({
|
||||
},
|
||||
})
|
||||
|
||||
var AppControlls =
|
||||
module.AppControlls = core.ImageGridFeatures.Feature({
|
||||
var AppButtons =
|
||||
module.AppButtons = core.ImageGridFeatures.Feature({
|
||||
title: '',
|
||||
doc: '',
|
||||
|
||||
@ -277,13 +277,15 @@ module.AppControlls = core.ImageGridFeatures.Feature({
|
||||
'ui-status-bar',
|
||||
],
|
||||
|
||||
actions: AppControllsActions,
|
||||
actions: AppButtonsActions,
|
||||
|
||||
handlers: [
|
||||
['start.pre toggleFullScreen',
|
||||
['start.pre',
|
||||
function(){
|
||||
this.toggleAppButtons('on')
|
||||
|
||||
}],
|
||||
['start toggleFullScreen',
|
||||
function(){
|
||||
var fullscreen = this.toggleFullScreen('?')
|
||||
var buttons = this.ribbons.viewer.find('.app-buttons')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user