mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
added space triggering of items in browse lists...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ebd051eab7
commit
3e5c52b676
@ -394,8 +394,6 @@ module.GLOBAL_KEYBOARD = {
|
|||||||
|
|
||||||
/*********************************************************************/
|
/*********************************************************************/
|
||||||
// XXX add loading/storing of kb bindings...
|
// XXX add loading/storing of kb bindings...
|
||||||
// XXX experimenting with new style of doc strings, usable from the
|
|
||||||
// system... (for details see: core.doc)
|
|
||||||
|
|
||||||
// XXX need a clean deep copy to restore...
|
// XXX need a clean deep copy to restore...
|
||||||
var KeyboardActions = actions.Actions({
|
var KeyboardActions = actions.Actions({
|
||||||
@ -1572,7 +1570,7 @@ var KeyboardUIActions = actions.Actions({
|
|||||||
})],
|
})],
|
||||||
|
|
||||||
|
|
||||||
// XXX move to gen2
|
/*/ XXX move to gen2
|
||||||
// XXX need to pre-process the docs...
|
// XXX need to pre-process the docs...
|
||||||
// - remove the path component...
|
// - remove the path component...
|
||||||
// - insert the action name where not doc present...
|
// - insert the action name where not doc present...
|
||||||
@ -1590,6 +1588,7 @@ var KeyboardUIActions = actions.Actions({
|
|||||||
background: 'white',
|
background: 'white',
|
||||||
focusable: true,
|
focusable: true,
|
||||||
})],
|
})],
|
||||||
|
//*/
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1237,7 +1237,9 @@ var BrowserPrototype = {
|
|||||||
End: 'navigate!: "last"',
|
End: 'navigate!: "last"',
|
||||||
|
|
||||||
Enter: 'action',
|
Enter: 'action',
|
||||||
|
Space: 'Enter',
|
||||||
//O: 'action',
|
//O: 'action',
|
||||||
|
|
||||||
Esc: 'close: "reject"',
|
Esc: 'close: "reject"',
|
||||||
|
|
||||||
'/': 'startFilter!',
|
'/': 'startFilter!',
|
||||||
@ -1676,8 +1678,9 @@ var BrowserPrototype = {
|
|||||||
// ...this will also need to indicate a way to split the path
|
// ...this will also need to indicate a way to split the path
|
||||||
// and when to 'pop' the sub browser...
|
// and when to 'pop' the sub browser...
|
||||||
// XXX should we use the button tag for item buttons???
|
// XXX should we use the button tag for item buttons???
|
||||||
// ...tried it, seems that with buttons we get some css overridden
|
// ...basically for this to work we need to either reset or override
|
||||||
// by Chrome, needs more work than just replacing a tag...
|
// user-agent-stylesheet...
|
||||||
|
// to override just set most of the affected options to inherit...
|
||||||
update: function(path, list){
|
update: function(path, list){
|
||||||
path = path || this.path
|
path = path || this.path
|
||||||
var browser = this.dom
|
var browser = this.dom
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user