Skip to content

Commit 62e7dde

Browse files
author
DD Liu
committed
Put back deprecated function to not break gui
2 parents 57f9d9b + 4337b09 commit 62e7dde

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

package-lock.json

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/virtual-machine.js

+4
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,10 @@ class VirtualMachine extends EventEmitter {
10901090
return this.runtime && this.runtime.renderer;
10911091
}
10921092

1093+
// @deprecated
1094+
attachV2SVGAdapter () {
1095+
}
1096+
10931097
/**
10941098
* Set the bitmap adapter for the VM/runtime, which converts scratch 2
10951099
* bitmaps to scratch 3 bitmaps. (Scratch 3 bitmaps are all bitmap resolution 2)

0 commit comments

Comments
 (0)