mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
35f91f6642
commit
15bccab8bc
@ -2889,6 +2889,7 @@ var BrowserPrototype = {
|
||||
// or same as .renderList(..)
|
||||
//
|
||||
// XXX revise...
|
||||
// XXX highlight focused element in css...
|
||||
renderFinalize: function(items, context){
|
||||
var d = this.renderList(items, context)
|
||||
|
||||
@ -3244,6 +3245,9 @@ var BrowserPrototype = {
|
||||
up: function(){},
|
||||
down: function(){},
|
||||
// XXX check if there are elements to the left...
|
||||
// XXX which is better?
|
||||
// - on top level left goes to first element (as on all other levels)
|
||||
// - on top level left is like prev (less uniform but somehow feels more logical)
|
||||
left: function(){
|
||||
var focused = this.focused
|
||||
var p
|
||||
@ -3256,6 +3260,7 @@ var BrowserPrototype = {
|
||||
: (p = this.parentOf()) && p !== this ?
|
||||
this.focus(p)
|
||||
// prev...
|
||||
//: this.focus('first')
|
||||
: this.prev()
|
||||
},
|
||||
// XXX check if there are elements to the right...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user