Skip to content

Commit

Permalink
Merge pull request #603 from MyreMylar/fix-cursor
Browse files Browse the repository at this point in the history
Fix cursor clear
  • Loading branch information
MyreMylar authored Jun 16, 2024
2 parents 357cb76 + c176f22 commit 4b9bb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygame_gui/core/text/text_box_layout_row.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def clear(self):
"""
if self.target_surface is not None and self.surf_row_dirty:
slightly_wider_rect = pygame.Rect(self.x, self.y,
self.width + self.cursor_draw_width,
self.width + + self.layout.edit_cursor_width,
self.height)
self.target_surface.fill(pygame.Color('#00000000'), slightly_wider_rect)
self.surf_row_dirty = False
Expand Down

0 comments on commit 4b9bb1c

Please sign in to comment.