File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const LAYOUT = "expanded";
2525import Cache from './lib/cache' ;
2626import Updater from './lib/updater' ;
2727
28- const scriptVersion = 3 ;
28+ const scriptVersion = 4 ;
2929const sourceRepo = "evandcoleman/scriptable" ;
3030const scriptName = "MLB" ;
3131
@@ -145,7 +145,9 @@ async function createExpandedWidget() {
145145 outsStack . layoutHorizontally ( ) ;
146146 const outImages = getOutsImages ( game ) ;
147147 for ( let index in outImages ) {
148- outsStack . addSpacer ( index == 0 ? null : index === 2 ? 0 : 12 ) ;
148+ if ( index > 0 ) {
149+ outsStack . addSpacer ( index == 0 ? null : index === 2 ? 0 : 12 ) ;
150+ }
149151 const widgetImage = outsStack . addImage ( outImages [ index ] ) ;
150152 widgetImage . imageSize = new Size ( 6 , 6 ) ;
151153 }
You can’t perform that action at this time.
0 commit comments