We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974b74d commit 144cbf6Copy full SHA for 144cbf6
dist/MLB.js
@@ -36,7 +36,7 @@ __webpack_require__.a(module, async (__webpack_handle_async_dependencies__) => {
36
37
38
39
-const scriptVersion = 3;
+const scriptVersion = 4;
40
const sourceRepo = "evandcoleman/scriptable";
41
const scriptName = "MLB";
42
@@ -156,7 +156,9 @@ async function createExpandedWidget() {
156
outsStack.layoutHorizontally();
157
const outImages = getOutsImages(game);
158
for (let index in outImages) {
159
- outsStack.addSpacer(index == 0 ? null : index === 2 ? 0 : 12);
+ if (index > 0) {
160
+ outsStack.addSpacer(index == 0 ? null : index === 2 ? 0 : 12);
161
+ }
162
const widgetImage = outsStack.addImage(outImages[index]);
163
widgetImage.imageSize = new Size(6, 6);
164
}
0 commit comments