Skip to content

Commit 31605e4

Browse files
author
HarshKhandeparkar
committed
demo<RealDrawBoard>: turn on undos in demo
1 parent 9f5cc99 commit 31605e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/examples/drawboard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const drawBoardOptions = {
1717

1818
brushSize: 5, // The radius of one point of data, in coordinate units
1919
brushColor: [1, 1, 1], // Color of the brush
20+
allowUndo: true
2021
}
2122

2223
const DrawBoard = new GPUjsRealRenderer.RealDrawBoard(drawBoardOptions);

0 commit comments

Comments
 (0)