update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov 2018-08-10 13:20:26 +07:00
parent 8420e44c1b
commit 2b65b818a1
2 changed files with 17 additions and 4 deletions

View File

@ -18727,7 +18727,8 @@
'borderStrokeChange', 'borderStrokeChange',
'borderStrokeWidthChange', 'borderStrokeWidthChange',
'anchorStrokeChange', 'anchorStrokeChange',
'anchorStrokeWidthChange' 'anchorStrokeWidthChange',
'anchorFillChange'
].join(' '); ].join(' ');
var NODE_RECT = 'nodeRect'; var NODE_RECT = 'nodeRect';
@ -18822,7 +18823,8 @@
/** /**
* Transformer constructor. Transformer is a special type of group that allow you transform Konva * Transformer constructor. Transformer is a special type of group that allow you transform Konva
* primitives and shapes. * primitives and shapes. Transforming tool is not changing `width` and `height` properties of nodes
* when you resize them. Instead it changes `scaleX` and `scaleY` properties.
* @constructor * @constructor
* @memberof Konva * @memberof Konva
* @param {Object} config * @param {Object} config
@ -18835,7 +18837,8 @@
* @param {String} [config.borderStroke] Border stroke color * @param {String} [config.borderStroke] Border stroke color
* @param {Number} [config.borderStrokeWidth] Border stroke size * @param {Number} [config.borderStrokeWidth] Border stroke size
* @param {Array} [config.borderDash] Array for border dash. * @param {Array} [config.borderDash] Array for border dash.
* @param {Number} [config.anchorStroke] Anchor stroke color * @param {String} [config.anchorFill] Anchor fill color
* @param {String} [config.anchorStroke] Anchor stroke color
* @param {Number} [config.anchorStrokeWidth] Anchor stroke size * @param {Number} [config.anchorStrokeWidth] Anchor stroke size
* @param {Number} [config.anchorSize] Default is 10 * @param {Number} [config.anchorSize] Default is 10
* @param {Boolean} [config.keepRatio] Should we keep ratio when we are moving edges? Default is true * @param {Boolean} [config.keepRatio] Should we keep ratio when we are moving edges? Default is true
@ -19035,6 +19038,12 @@
anchor.on('dragstart', function(e) { anchor.on('dragstart', function(e) {
e.cancelBubble = true; e.cancelBubble = true;
}); });
anchor.on('dragmove', function(e) {
e.cancelBubble = true;
});
anchor.on('dragend', function(e) {
e.cancelBubble = true;
});
// add hover styling // add hover styling
anchor.on('mouseenter', function() { anchor.on('mouseenter', function() {
@ -19491,6 +19500,10 @@
stopTransform: function() { stopTransform: function() {
if (this._transforming) { if (this._transforming) {
this._removeEvents(); this._removeEvents();
var resizerNode = this.findOne('.' + this.movingResizer);
if (resizerNode) {
resizerNode.stopDrag();
}
} }
}, },
destroy: function() { destroy: function() {

2
konva.min.js vendored

File diff suppressed because one or more lines are too long