From 555838d5996475036d2b968222c919d1f7aac0d9 Mon Sep 17 00:00:00 2001 From: Igor Oleinikov Date: Thu, 19 Dec 2013 14:59:25 +0400 Subject: [PATCH] fabricjs: fixed test --- fabricjs/fabricjs-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabricjs/fabricjs-tests.ts b/fabricjs/fabricjs-tests.ts index b230e2249..df0d217e8 100644 --- a/fabricjs/fabricjs-tests.ts +++ b/fabricjs/fabricjs-tests.ts @@ -8,10 +8,10 @@ function sample1() { canvas.on({ 'object:moving': function (e) { - e.target.opacity = 0.5; + (e.target).opacity = 0.5; }, 'object:modified': function (e) { - e.target.opacity = 1; + (e.target).opacity = 1; } });