mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-12 22:35:18 +00:00
Fix flood fill bug mentioned in https://github.com/Orama-Interactive/Pixelorama/pull/672#issuecomment-1114762474
This commit is contained in:
parent
9a43d4bd34
commit
9e7dd1210b
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ func _flood_line_around_point(
|
|||
segment.todo_below = position.y < project.size.y - 1
|
||||
# this is an actual segment we should be coloring, so we add it to the results for the
|
||||
# current image
|
||||
if segment.right_position > segment.left_position:
|
||||
if segment.right_position >= segment.left_position:
|
||||
_allegro_image_segments.append(segment)
|
||||
# we know the point just east of the segment is not part of a segment that should be
|
||||
# processed, else it would be part of this segment
|
||||
|
|
Loading…
Add table
Reference in a new issue