mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8bbc8084c7
commit
155253f259
@ -345,6 +345,9 @@ object.makeConstructor('VirtualDOMRibbons',
|
|||||||
var PartialRibbonsActions = actions.Actions({
|
var PartialRibbonsActions = actions.Actions({
|
||||||
config: {
|
config: {
|
||||||
// Number of screen widths to load...
|
// Number of screen widths to load...
|
||||||
|
//
|
||||||
|
// NOTE: for all jump animations to run this must be at least 3
|
||||||
|
// screen widths...
|
||||||
'ribbon-size-screens': 7,
|
'ribbon-size-screens': 7,
|
||||||
|
|
||||||
// Amount of screen widths to keep around the current image...
|
// Amount of screen widths to keep around the current image...
|
||||||
@ -389,9 +392,6 @@ var PartialRibbonsActions = actions.Actions({
|
|||||||
size = 5
|
size = 5
|
||||||
|
|
||||||
// XXX add threshold test -- we do not need this on every action...
|
// XXX add threshold test -- we do not need this on every action...
|
||||||
// XXX this messes up align when exiting single image view...
|
|
||||||
// XXX this does not work out of the box...
|
|
||||||
//this.virtualdom.sync(this.current, size)
|
|
||||||
|
|
||||||
this.virtualdom.sync(target, size)
|
this.virtualdom.sync(target, size)
|
||||||
this.centerViewer(target)
|
this.centerViewer(target)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user