Update public/sketch.js
Browse files- public/sketch.js +5 -2
public/sketch.js
CHANGED
@@ -106,8 +106,11 @@ function draw() {
|
|
106 |
|
107 |
//MAP THE PRESSURE VALUE TO VISIBLE ONES
|
108 |
Cursor.mapPressure();
|
109 |
-
|
110 |
-
Draws
|
|
|
|
|
|
|
111 |
|
112 |
|
113 |
// ANGLE WE ARE LOOKING FOR TO KEEP TRACK OF THE STYLUS TILT
|
|
|
106 |
|
107 |
//MAP THE PRESSURE VALUE TO VISIBLE ONES
|
108 |
Cursor.mapPressure();
|
109 |
+
|
110 |
+
if(Draws !== undefined){
|
111 |
+
Draws.get_new_current_path();
|
112 |
+
}
|
113 |
+
|
114 |
|
115 |
|
116 |
// ANGLE WE ARE LOOKING FOR TO KEEP TRACK OF THE STYLUS TILT
|