Skip to content

Commit 0e37140

Browse files
committed
fix example
1 parent da9b844 commit 0e37140

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

example/basic-example/app.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import Stage from "../../src";
22
import imageUrl from "./sample.png";
33

4-
// // Add texture atlas
5-
// await Stage.atlas({
6-
// image: imageUrl,
7-
// textures: {
8-
// box: { x: 0, y: 0, width: 30, height: 30 },
9-
// },
10-
// });
4+
// Add texture atlas
5+
await Stage.atlas({
6+
image: imageUrl,
7+
textures: {
8+
box: { x: 0, y: 0, width: 30, height: 30 },
9+
},
10+
});
1111

1212
// Create new app
1313
const stage = Stage.mount();

0 commit comments

Comments
 (0)