File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ define(['marionette',
8787 console . log ( 'updateDCC' , this . ui . dcglink , this . model )
8888 if ( this . model . get ( 'DCC' ) > 1 ) {
8989 this . $el . find ( 'li.group' ) . show ( )
90+ this . $el . find ( '.gridsize2' ) . show ( )
9091 this . $el . find ( '.dcglink' ) . show ( )
9192 this . $el . find ( '.dclink' ) . hide ( )
9293 this . $el . find ( '.reprocess' ) . hide ( )
@@ -95,6 +96,7 @@ define(['marionette',
9596 }
9697 } else {
9798 this . $el . find ( 'li.group' ) . hide ( )
99+ this . $el . find ( '.gridsize2' ) . hide ( )
98100 this . $el . find ( '.dcglink' ) . hide ( )
99101 this . $el . find ( '.dclink' ) . show ( )
100102 this . $el . find ( '.reprocess' ) . show ( )
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ define(['marionette',
4646 xrcholder : '.holder h1.xrc' ,
4747 apholder : '.holder h1.ap' ,
4848 gridsize : '.gridsize' ,
49+ gridsize2 : '.gridsize2' ,
4950 } ,
5051
5152 toggleZoom : function ( e ) {
@@ -126,9 +127,8 @@ define(['marionette',
126127 if ( this . ui . bx . text ) this . ui . by . text ( ( gi . get ( 'DY_MM' ) * 1000 ) . toFixed ( 0 ) )
127128
128129 if ( gi . get ( 'STEPS_Y' ) > 10 && this . ui . zoom . show ) this . ui . zoom . show ( )
129- var gridsize = gi . get ( 'STEPS_X' ) + ' x ' + gi . get ( 'STEPS_Y' )
130- if ( gi . get ( 'STEPS_Z' ) ) { gridsize += ' x ' + gi . get ( 'STEPS_Z' ) }
131- this . ui . gridsize . html ( gridsize )
130+ this . ui . gridsize . html ( gi . get ( 'STEPS_X' ) + ' x ' + gi . get ( 'STEPS_Y' ) )
131+ if ( gi . get ( 'STEPS_Z' ) ) { this . ui . gridsize2 . html ( ' x ' + gi . get ( 'STEPS_Z' ) ) }
132132 } ,
133133
134134 checkXRCandAP : function ( ) {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ <h1 class="title"></h1>
1313 < li > Transmission: < %-TRANSMISSION%> %</ li >
1414 < li > Beamsize: < %-BSX%> x< %-BSY%> μm</ li >
1515 < li > Boxsize: < span class ="boxx "> </ span > x< span class ="boxy "> </ span > μm</ li >
16- < li > Grid scan size: < span class ="gridsize "> </ span > </ li >
16+ < li > Grid scan size: < span class ="gridsize "> </ span > < span class =" gridsize2 " > </ span > < /li >
1717 < li class ="comment "> Comment: < span class ="COMMENTS "> < %-COMMENTS%> </ span > </ li >
1818 < % if (!STATE) { %> < li > Status: < span class ="b "> Stopped</ span > </ li > < % } %>
1919
You can’t perform that action at this time.
0 commit comments