Skip to content

Commit cca54c2

Browse files
authored
fix regression due to Easel upgrade (#376)
1 parent 646fe4a commit cca54c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/activity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,8 +1278,8 @@ define(MYDEFINES, function (compatibility) {
12781278
var bounds = bitmap.getBounds();
12791279
bitmap.cache(bounds.x, bounds.y, bounds.width, bounds.height);
12801280
try {
1281-
console.log(bitmap.getCacheDataURL());
1282-
t.planet.ProjectStorage.saveLocally(data, bitmap.getCacheDataURL());
1281+
console.log(bitmap.bitmapCache.getCacheDataURL());
1282+
t.planet.ProjectStorage.saveLocally(data, bitmap.bitmapCache.getCacheDataURL());
12831283
} catch (e) {
12841284
console.log(e);
12851285
}

0 commit comments

Comments
 (0)