mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
We cannot use PaperScript extensions in tests.
This commit is contained in:
parent
d9777111dc
commit
ee23f64642
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ test('Group#clone()', function() {
|
||||||
test('PointText#clone()', function() {
|
test('PointText#clone()', function() {
|
||||||
var pointText = new PointText(new Point(50, 50));
|
var pointText = new PointText(new Point(50, 50));
|
||||||
pointText.content = 'test';
|
pointText.content = 'test';
|
||||||
pointText.position += 100;
|
pointText.position = pointText.position.add(100);
|
||||||
pointText.characterStyle = {
|
pointText.characterStyle = {
|
||||||
font: 'serif',
|
font: 'serif',
|
||||||
fontSize: 20
|
fontSize: 20
|
||||||
|
|
Loading…
Reference in a new issue