mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 02:40:08 +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.images = images.Images(d.images)
|
||||||
this.data = data.Data(d.data)
|
this.data = data.Data(d.data)
|
||||||
}],
|
}],
|
||||||
clear: ['File|Interface/Clear viewer',
|
clear: ['File/Clear',
|
||||||
{journal: true},
|
{journal: true},
|
||||||
function(){
|
function(){
|
||||||
//delete this.data
|
//delete this.data
|
||||||
|
|||||||
@ -517,7 +517,9 @@ var URLHistoryUIActions = actions.Actions({
|
|||||||
}))
|
}))
|
||||||
|
|
||||||
// history is empty...
|
// 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([
|
list.push([
|
||||||
'No history...',
|
'No history...',
|
||||||
{
|
{
|
||||||
|
|||||||
@ -234,8 +234,8 @@ module.GLOBAL_KEYBOARD2 = {
|
|||||||
|
|
||||||
|
|
||||||
// theme...
|
// theme...
|
||||||
ctrl_R: 'toggleTheme!',
|
ctrl_B: 'toggleTheme!',
|
||||||
ctrl_shift_R: 'toggleTheme!: "prev"',
|
ctrl_shift_B: 'toggleTheme!: "prev"',
|
||||||
'ctrl+-': 'darkerTheme!',
|
'ctrl+-': 'darkerTheme!',
|
||||||
'ctrl++': 'lighterTheme!',
|
'ctrl++': 'lighterTheme!',
|
||||||
|
|
||||||
|
|||||||
@ -840,7 +840,7 @@ function makeKeyboardHandler(keyboard, unhandled, actions){
|
|||||||
&& evt.preventDefault()
|
&& evt.preventDefault()
|
||||||
|
|
||||||
// call the handler...
|
// call the handler...
|
||||||
res = actions[h.action].apply(actions, h.args)
|
res = actions[h.action].apply(actions, h.arguments)
|
||||||
|
|
||||||
if(h.stop_propagation){
|
if(h.stop_propagation){
|
||||||
res = false
|
res = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user