Commit Graph

7 Commits

Author SHA1 Message Date
VladimirTechMan
70ff42d017 Spelling correction to variable name 2019-01-11 21:46:44 +03:00
Anton Lavrenov
60e425c596 Merge branch 'master' of github.com:konvajs/konva 2019-01-11 08:52:28 -05:00
Anton Lavrenov
830eb53650 bugs fixes, docs updates. fix #535 2019-01-11 08:51:46 -05:00
VladimirTechMan
6c53a2b27a Do not recalculate additionalWidth on every line of multiline text
This is just a minor improvement (optimization) to _setTextData():
Flag shouldAddEllipsis is not changed inside the loop, thus no need
to recalculate the value of additionalWidth for every line of the
original text.
2019-01-08 20:03:25 +03:00
VladimirTechMan
4be6ed7ac8 Setting text on Konva.Text, treat undefined width or height as 'auto'
Similar to how it's handled in getWidth() and getHeight() of Konva.Text,
let _setTextData() treat undefined values of the 'width' and 'height'
attributes as if they are set to 'auto', not as if they are fixed.
2019-01-06 22:06:37 +03:00
Anton Lavrenov
52f2b8178b docs updatesx 2019-01-06 03:01:20 -05:00
Anton Lavrenov
4d58cd6479 initial migrate to typescript 2019-01-01 15:59:27 -05:00