CSS rule cleaning; fixed canvas clear issues; added rotation global
This commit is contained in:
@@ -14,13 +14,14 @@ const ScriptElms = {
|
||||
|
||||
const BRUSH_SIZE = 2;
|
||||
const BRUSH_COLOR = "#000000";
|
||||
const ROTATION = 0;
|
||||
|
||||
let Painter = {
|
||||
canvas: null,
|
||||
canvasContext: null,
|
||||
brushSize: BRUSH_SIZE,
|
||||
brushColor: BRUSH_COLOR,
|
||||
rotation: 0,
|
||||
rotation: ROTATION,
|
||||
x1: 0,
|
||||
y1: 0,
|
||||
isBrushLifted: false
|
||||
|
||||
Reference in New Issue
Block a user