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

7 lines
190 B
JavaScript

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