mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
155253f259
commit
e60f0568d6
@ -350,24 +350,7 @@ var PartialRibbonsActions = actions.Actions({
|
|||||||
// screen widths...
|
// screen widths...
|
||||||
'ribbon-size-screens': 7,
|
'ribbon-size-screens': 7,
|
||||||
|
|
||||||
// Amount of screen widths to keep around the current image...
|
|
||||||
'ribbon-update-threshold': 1.2,
|
|
||||||
|
|
||||||
// Oversize multiplier limit when we resize the ribbon down...
|
|
||||||
'ribbon-resize-threshold': 2,
|
|
||||||
|
|
||||||
// Sets size of ribbons in single image mode...
|
|
||||||
'ribbons-resize-single-image': 21,
|
|
||||||
|
|
||||||
// can be:
|
|
||||||
// 'hybrid'
|
|
||||||
// 'resize'
|
|
||||||
'ribbons-in-place-update-mode': 'resize',
|
|
||||||
|
|
||||||
'ribbons-in-place-update-timeout': 100,
|
|
||||||
|
|
||||||
// XXX
|
|
||||||
'ribbon-update-timeout': 120,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
get virtualdom(){
|
get virtualdom(){
|
||||||
@ -427,6 +410,7 @@ module.PartialRibbons = core.ImageGridFeatures.Feature({
|
|||||||
['fitImage toggleSingleImage',
|
['fitImage toggleSingleImage',
|
||||||
function(){ delete this.virtualdom.state.tile_size }],
|
function(){ delete this.virtualdom.state.tile_size }],
|
||||||
|
|
||||||
|
// XXX account for fast navigation...
|
||||||
['focusImage.pre',
|
['focusImage.pre',
|
||||||
function(target){
|
function(target){
|
||||||
var img = this.ribbons.getImage(target)
|
var img = this.ribbons.getImage(target)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user