mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
435961d596
commit
ce3d13ea9e
@ -305,8 +305,7 @@ stretching in width... */
|
||||
-o-transition: all 0.1s ease-in;
|
||||
transition: all 0.1s ease-in;
|
||||
}
|
||||
.shadow,
|
||||
.shadow .image {
|
||||
.shadow {
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform-origin: 0 0;
|
||||
-ms-transform-origin: 0 0;
|
||||
|
||||
@ -442,8 +442,7 @@ stretching in width... */
|
||||
-o-transition: all 0.1s ease-in;
|
||||
transition: all 0.1s ease-in;
|
||||
}
|
||||
.shadow,
|
||||
.shadow .image {
|
||||
.shadow {
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform-origin: 0 0;
|
||||
-ms-transform-origin: 0 0;
|
||||
|
||||
@ -1136,6 +1136,8 @@ module.RibbonsPrototype = {
|
||||
}
|
||||
|
||||
// see of we are loaded in the right position...
|
||||
// NOTE: loaded is maintained current later, thus it always
|
||||
// contains a set of images representative of the ribbon...
|
||||
var g = loaded.length > i ? that.getElemGID(loaded.eq(i)) : null
|
||||
|
||||
// check if we need to reattach the image...
|
||||
|
||||
@ -213,6 +213,17 @@ actions.Actions({
|
||||
this.data = data.Data.fromArray(this.images.keys())
|
||||
}],
|
||||
|
||||
// XXX experimental...
|
||||
// ...the bad thing about this is that we can not extend this,
|
||||
// adding new items to the resulting structure...
|
||||
dump: ['Dump state as JSOM object',
|
||||
function(){
|
||||
return {
|
||||
data: this.data.dumpJSON(),
|
||||
images: this.images != null ? this.images.dumpJSON() : null
|
||||
}
|
||||
}],
|
||||
|
||||
|
||||
// basic navigation...
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user