File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ def on_zone_click(event):
284284 screen_image .resize ((int (screen_image .width / RESIZE_FACTOR ), int (screen_image .height / RESIZE_FACTOR ))))
285285 else :
286286 size = display_width if display_width < display_height else display_height
287- display_image = ImageTk .PhotoImage (ERROR_IN_THEME .resize ((display_width , display_width )))
287+ display_image = ImageTk .PhotoImage (ERROR_IN_THEME .resize ((size , size )))
288288 viewer_picture = tkinter .Label (viewer , image = display_image , borderwidth = 0 )
289289 viewer_picture .place (x = RGB_LED_MARGIN , y = RGB_LED_MARGIN )
290290
@@ -333,7 +333,7 @@ def on_zone_click(event):
333333 (int (screen_image .width / RESIZE_FACTOR ), int (screen_image .height / RESIZE_FACTOR ))))
334334 else :
335335 size = display_width if display_width < display_height else display_height
336- display_image = ImageTk .PhotoImage (ERROR_IN_THEME .resize ((display_width , display_width )))
336+ display_image = ImageTk .PhotoImage (ERROR_IN_THEME .resize ((size , size )))
337337 viewer_picture .config (image = display_image )
338338
339339 # Refresh RGB backplate LEDs color
You can’t perform that action at this time.
0 commit comments