pxt-arcade 1.13.45 → 1.13.47
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 -3
- package/built/target.js +1 -1
- package/built/target.json +1 -1
- package/built/targetlight.json +1 -1
- package/package.json +3 -3
package/built/sim.js
CHANGED
|
@@ -143,7 +143,7 @@ var pxsim;
|
|
|
143
143
|
pressed = pressed || (axisPositive === value > 0);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
const old = ctrl.state[key];
|
|
146
|
+
const old = ctrl.state[key] || false;
|
|
147
147
|
if (old != pressed) {
|
|
148
148
|
ctrl.state[key] = pressed;
|
|
149
149
|
pxsim.board().setButton(key + (7 * (ctrl.player - 1)), pressed);
|
|
@@ -826,9 +826,9 @@ var pxsim;
|
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
function juniorSkin() {
|
|
829
|
-
setSimThemeColor("background-color", "#
|
|
829
|
+
setSimThemeColor("background-color", "#EB4444");
|
|
830
830
|
setSimThemeColor("button-fill", "#D54322");
|
|
831
|
-
setSimThemeColor("button-stroke", "#
|
|
831
|
+
setSimThemeColor("button-stroke", "#670C0C");
|
|
832
832
|
setSimThemeColor("text-color", "#FFFFFF");
|
|
833
833
|
const wrapper = document.getElementById("wrap");
|
|
834
834
|
if (wrapper) {
|