File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,20 +281,20 @@ def run_job(jobfile):
281281 if (x >= 22 and
282282 x < (image .width + panelwidth // 2 )
283283 and y < image .height ):
284- if (
285- (image [x - panelwidth // 2 , y ] != 0 and not inv
286- ) or (
287- image [x - panelwidth // 2 , y ] == 0 and inv )
288- ):
289- # offset = 4
290- if job ["imagegrayscale" ] == 0 :
291- offset = job ["imageheight" ]
292- else :
293- offset = (
294- image [x - panelwidth // 2 , y ]
295- * job ["grayscalecolors" ]
296- // 255
297- )
284+ if (
285+ (image [x - panelwidth // 2 , y ] != 0 and not inv
286+ ) or (
287+ image [x - panelwidth // 2 , y ] == 0 and inv )
288+ ):
289+ # offset = 4
290+ if job ["imagegrayscale" ] == 0 :
291+ offset = job ["imageheight" ]
292+ else :
293+ offset = (
294+ image [x - panelwidth // 2 , y ]
295+ * job ["grayscalecolors" ]
296+ // 255
297+ )
298298 if offset != 0 :
299299 for x2 in range (x , display .width , panelwidth ):
300300 tcanvas [x2 ] = tcanvas [x2 + offset ]
You can’t perform that action at this time.
0 commit comments