mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor tweaks and fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
55a6c106ec
commit
c8645d3f6f
@ -201,7 +201,7 @@ actions.Actions({
|
||||
this.images = images.Images(d.images)
|
||||
this.data = data.Data(d.data)
|
||||
}],
|
||||
clear: ['File|Interface/Clear viewer',
|
||||
clear: ['File/Clear',
|
||||
{journal: true},
|
||||
function(){
|
||||
//delete this.data
|
||||
|
||||
@ -517,7 +517,9 @@ var URLHistoryUIActions = actions.Actions({
|
||||
}))
|
||||
|
||||
// history is empty...
|
||||
if(list.length == 0){
|
||||
// NOTE: the length here is 1 because we need to account
|
||||
// for the separator...
|
||||
if(list.length == 1){
|
||||
list.push([
|
||||
'No history...',
|
||||
{
|
||||
|
||||
@ -234,8 +234,8 @@ module.GLOBAL_KEYBOARD2 = {
|
||||
|
||||
|
||||
// theme...
|
||||
ctrl_R: 'toggleTheme!',
|
||||
ctrl_shift_R: 'toggleTheme!: "prev"',
|
||||
ctrl_B: 'toggleTheme!',
|
||||
ctrl_shift_B: 'toggleTheme!: "prev"',
|
||||
'ctrl+-': 'darkerTheme!',
|
||||
'ctrl++': 'lighterTheme!',
|
||||
|
||||
|
||||
@ -840,7 +840,7 @@ function makeKeyboardHandler(keyboard, unhandled, actions){
|
||||
&& evt.preventDefault()
|
||||
|
||||
// call the handler...
|
||||
res = actions[h.action].apply(actions, h.args)
|
||||
res = actions[h.action].apply(actions, h.arguments)
|
||||
|
||||
if(h.stop_propagation){
|
||||
res = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user