mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Added tmp layer
The temporary layer (tmp layer) will store selections while the user decides where to put them, so that content below it doesn't get overridden.
This commit is contained in:
@@ -41,4 +41,9 @@ var currentLayer;
|
||||
// VFX layer used to draw previews of the selection and things like that
|
||||
var VFXLayer;
|
||||
// VFX canvas
|
||||
var VFXCanvas = document.getElementById("vfx-canvas");
|
||||
var VFXCanvas = document.getElementById("vfx-canvas");
|
||||
|
||||
// TMP layer
|
||||
var TMPLayer;
|
||||
// TMP canvas
|
||||
var TMPCanvas = document.getElementById("tmp-canvas");
|
||||
Reference in New Issue
Block a user