pxt-arcade 1.10.29 → 1.10.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/sim.js +3 -1
- package/built/target.js +148 -148
- package/built/target.json +148 -148
- package/built/targetlight.json +4 -4
- package/package.json +3 -3
package/built/sim.js
CHANGED
|
@@ -179,7 +179,9 @@ var pxsim;
|
|
|
179
179
|
});
|
|
180
180
|
};
|
|
181
181
|
const reporter = (event) => {
|
|
182
|
-
|
|
182
|
+
// don't do this or it prevents the user to select
|
|
183
|
+
// the canvas using mouse/touch
|
|
184
|
+
//event.preventDefault();
|
|
183
185
|
// map canvas coordinates to arcade screen coordinates
|
|
184
186
|
const rect = canvas.getBoundingClientRect();
|
|
185
187
|
const x = ((event.clientX - rect.left) / rect.width) * 160;
|