mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-03 11:34:41 +00:00
Fix isMoving not set to false sometimes. Closes #350. Version 0.9.31.
This commit is contained in:
parent
7eae38db57
commit
b5b901e99e
6 changed files with 261 additions and 66 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*! Fabric.js Copyright 2008-2012, Printio (Juriy Zaytsev, Maxim Chernyak) */
|
||||
|
||||
var fabric = fabric || { version: "0.9.30" };
|
||||
var fabric = fabric || { version: "0.9.31" };
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.fabric = fabric;
|
||||
|
|
|
|||
312
dist/all.js
vendored
312
dist/all.js
vendored
File diff suppressed because it is too large
Load diff
8
dist/all.min.js
vendored
8
dist/all.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/all.min.js.gz
vendored
BIN
dist/all.min.js.gz
vendored
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "fabric",
|
||||
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
|
||||
"version": "0.9.30",
|
||||
"version": "0.9.31",
|
||||
"author": "Juriy Zaytsev <kangax@gmail.com>",
|
||||
"keywords": ["canvas", "graphic", "graphics", "SVG", "node-canvas", "parser", "HTML5", "object model"],
|
||||
"repository": "git://github.com/kangax/fabric.js",
|
||||
|
|
|
|||
|
|
@ -259,9 +259,10 @@
|
|||
this._objects[i].setCoords();
|
||||
}
|
||||
|
||||
target.isMoving = false;
|
||||
|
||||
// only fire :modified event if target coordinates were changed during mousedown-mouseup
|
||||
if (this.stateful && target.hasStateChanged()) {
|
||||
target.isMoving = false;
|
||||
this.fire('object:modified', { target: target });
|
||||
target.fire('modified');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue