mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 02:40:08 +00:00
fixed fullscreen refresh bug...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7756a3b8ca
commit
9f5723ce2d
@ -90,7 +90,8 @@ var AppControlActions = actions.Actions({
|
|||||||
|
|
||||||
win.show()
|
win.show()
|
||||||
|
|
||||||
if(cfg != null && cfg.fullscreen){
|
// XXX check if we are full screen...
|
||||||
|
if(cfg != null && cfg.fullscreen && !win.isFullscreen){
|
||||||
this.toggleFullScreen()
|
this.toggleFullScreen()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -107,7 +107,7 @@ module.GLOBAL_KEYBOARD = {
|
|||||||
H: {
|
H: {
|
||||||
default: 'flipHorizontal',
|
default: 'flipHorizontal',
|
||||||
ctrl: 'listURLHistory',
|
ctrl: 'listURLHistory',
|
||||||
alt: 'browseActions: "/History/"',
|
alt: 'browseActions: "/History/" -- Open history menu',
|
||||||
},
|
},
|
||||||
V: 'flipVertical',
|
V: 'flipVertical',
|
||||||
P: {
|
P: {
|
||||||
|
|||||||
@ -486,7 +486,7 @@ function getKeyHandlers(key, modifiers, keybindings, modes, shifted_keys, action
|
|||||||
}
|
}
|
||||||
|
|
||||||
return f
|
return f
|
||||||
}(c.action, c['no-default'], c.args, c.doc)
|
}(c.action, c['no-default'], c.arguments, c.doc)
|
||||||
|
|
||||||
// key code...
|
// key code...
|
||||||
} else if(typeof(handler) == typeof(1)) {
|
} else if(typeof(handler) == typeof(1)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user