Skip to content

Commit 3d20ad7

Browse files
committed
scroll overlay with workspace
1 parent 27f2798 commit 3d20ad7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Fruit_Jam/Fruit_Jam_Logic_Gates/workspace.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@ def apply_scroll(self):
648648
"""
649649
self.tilegrid.x = self._scroll_x * self.tilegrid.tile_width * 1
650650
self.tilegrid.y = self._scroll_y * self.tilegrid.tile_height * 1
651+
self.overlay_tilegrid.x = self._scroll_x * self.overlay_tilegrid.tile_width * 1
652+
self.overlay_tilegrid.y = self._scroll_y * self.overlay_tilegrid.tile_height * 1
651653

652654
def entity_at(self, location):
653655
"""

0 commit comments

Comments
 (0)