scratch-vm/test/fixtures/fake-bitmap-adapter.js

8 lines
190 B
JavaScript
Raw Normal View History

const FakeBitmapAdapter = require('scratch-svg-renderer').BitmapAdapter;
FakeBitmapAdapter.prototype.resize = function (canvas) {
return canvas;
};
module.exports = FakeBitmapAdapter;