Started implementing preview rect

At the moment there's a bug in the getCursorPos function, may have something to do with offsets. The rect is correctly drawn, but with a weird offset.

Added vfx canvas for tools previews.
This commit is contained in:
unsettledgames
2020-03-04 15:46:25 +01:00
parent efaa8e3c34
commit 8c94a951e2
9 changed files with 120 additions and 63 deletions

View File

@ -17,6 +17,7 @@
/**init**/
//=include _consts.js
//=include _variables.js
//=include _settings.js
@ -42,7 +43,7 @@
//=include _deleteColor.js
//=include _replaceAllOfColor.js
//=include _checkerboard.js
//=include _canvas.js
//=include _layer.js
/**load file**/