mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
update CHANGELOG with new version
This commit is contained in:
parent
0679643389
commit
2943db31b4
@ -3,6 +3,11 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## 8.1.1
|
||||||
|
|
||||||
|
- Fix `Konva.Transformer` dragging draw when `shouldOverdrawWholeArea = true`.
|
||||||
|
- Fix auto redraw when `container.removeChildren()` or `container.destroyChildren()` are used
|
||||||
|
|
||||||
## 8.1.0
|
## 8.1.0
|
||||||
|
|
||||||
- New property `useSingleNodeRotation` for `Konva.Transformer`.
|
- New property `useSingleNodeRotation` for `Konva.Transformer`.
|
||||||
|
12
konva.js
12
konva.js
@ -8,7 +8,7 @@
|
|||||||
* Konva JavaScript Framework v8.1.0
|
* Konva JavaScript Framework v8.1.0
|
||||||
* http://konvajs.org/
|
* http://konvajs.org/
|
||||||
* Licensed under the MIT
|
* Licensed under the MIT
|
||||||
* Date: Tue Jun 29 2021
|
* Date: Thu Jul 01 2021
|
||||||
*
|
*
|
||||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
||||||
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
||||||
@ -5159,6 +5159,8 @@
|
|||||||
child.remove();
|
child.remove();
|
||||||
});
|
});
|
||||||
this.children = [];
|
this.children = [];
|
||||||
|
// because all children were detached from parent, request draw via container
|
||||||
|
this._requestDraw();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -5174,6 +5176,8 @@
|
|||||||
child.destroy();
|
child.destroy();
|
||||||
});
|
});
|
||||||
this.children = [];
|
this.children = [];
|
||||||
|
// because all children were detached from parent, request draw via container
|
||||||
|
this._requestDraw();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -14681,7 +14685,7 @@
|
|||||||
node.on(`dragstart.${EVENTS_NAME}`, (e) => {
|
node.on(`dragstart.${EVENTS_NAME}`, (e) => {
|
||||||
lastPos = node.getAbsolutePosition();
|
lastPos = node.getAbsolutePosition();
|
||||||
// actual dragging of Transformer doesn't make sense
|
// actual dragging of Transformer doesn't make sense
|
||||||
// but we need to proxy drag events
|
// but we need to make sure it also has all drag events
|
||||||
if (!this.isDragging() && node !== this.findOne('.back')) {
|
if (!this.isDragging() && node !== this.findOne('.back')) {
|
||||||
this.startDrag(e, false);
|
this.startDrag(e, false);
|
||||||
}
|
}
|
||||||
@ -14936,6 +14940,10 @@
|
|||||||
back.on('dragend', (e) => {
|
back.on('dragend', (e) => {
|
||||||
e.cancelBubble = true;
|
e.cancelBubble = true;
|
||||||
});
|
});
|
||||||
|
// force self update when we drag with shouldOverDrawWholeArea setting
|
||||||
|
this.on('dragmove', (e) => {
|
||||||
|
this.update();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
_handleMouseDown(e) {
|
_handleMouseDown(e) {
|
||||||
this._movingAnchorName = e.target.name().split(' ')[0];
|
this._movingAnchorName = e.target.name().split(' ')[0];
|
||||||
|
4
konva.min.js
vendored
4
konva.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user