mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 10:47:59 +08:00
fix #96 setting text to integer data types no longer fails
This commit is contained in:
@@ -2774,6 +2774,9 @@ Test.prototype.tests = {
|
||||
test(text.getShadow().color === 'green', 'text box shadow color should be green');
|
||||
test(text.getCornerRadius() === 20, 'text box corner radius should be 20');
|
||||
test(text.getDraggable() === false, 'text draggable should be false');
|
||||
|
||||
// test set text to integer
|
||||
text.setText(5);
|
||||
|
||||
//document.body.appendChild(layer.bufferCanvas.element)
|
||||
|
||||
|
Reference in New Issue
Block a user