File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Fruit_Jam/Fruit_Jam_Logic_Gates Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -727,9 +727,9 @@ def _init_grid(self):
727727 y = item_lbl .bounding_box [3 ] + 4 ,
728728 x = x_pos ,
729729 )
730- for i in range (len (item ["tiles" ])):
731- item_icon [i ] = item ["tiles" ][i ]
732- item_icon [i ] = item ["tiles" ][i ]
730+ for tile_index in range (len (item ["tiles" ])):
731+ item_icon [tile_index ] = item ["tiles" ][tile_index ]
732+ item_icon [tile_index ] = item ["tiles" ][tile_index ]
733733
734734 # put the entity label and icon in an AnchoredGroup
735735 item_group = AnchoredGroup ()
@@ -794,9 +794,9 @@ def handle_mouse_click(self, screen_coords):
794794
795795 # set the created entity as the entity moving with mouse
796796 self ._workspace .moving_entity = new_entity
797- self ._workspace ._set_mouse_moving_tiles (
797+ self ._workspace ._set_mouse_moving_tiles ( # pylint: disable=protected-access
798798 new_entity
799- ) # pylint: disable=protected-access
799+ )
800800 self ._workspace .mouse_moving_tg .hidden = False
801801
802802 # close the ToolBox
You can’t perform that action at this time.
0 commit comments