mirror of
https://github.com/konvajs/konva.git
synced 2025-05-03 20:48:00 +08:00
fixed typo introduced with search/replace
This commit is contained in:
parent
4c521317ff
commit
6e3bae6b2d
2
dist/kinetic-core.js
vendored
2
dist/kinetic-core.js
vendored
@ -3994,7 +3994,7 @@ Kinetic.Text.prototype = {
|
|||||||
* get box width
|
* get box width
|
||||||
*/
|
*/
|
||||||
getBoxWidth: function() {
|
getBoxWidth: function() {
|
||||||
return this.attrs.width === 'auto' ? this.getTextWidboxWidths.padding * 2 : this.attrs.width;
|
return this.attrs.width === 'auto' ? this.getTextWidth() + this.attrs.padding * 2 : this.attrs.width;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* get box height
|
* get box height
|
||||||
|
2
dist/kinetic-core.min.js
vendored
2
dist/kinetic-core.min.js
vendored
File diff suppressed because one or more lines are too long
@ -125,7 +125,7 @@ Kinetic.Text.prototype = {
|
|||||||
* get box width
|
* get box width
|
||||||
*/
|
*/
|
||||||
getBoxWidth: function() {
|
getBoxWidth: function() {
|
||||||
return this.attrs.width === 'auto' ? this.getTextWidboxWidths.padding * 2 : this.attrs.width;
|
return this.attrs.width === 'auto' ? this.getTextWidth() + this.attrs.padding * 2 : this.attrs.width;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* get box height
|
* get box height
|
||||||
|
Loading…
Reference in New Issue
Block a user