mirror of
https://github.com/1j01/textual-paint.git
synced 2024-10-05 20:07:45 +03:00
Fix fill tool
This commit is contained in:
parent
2b1b40fc12
commit
7ce6459a27
@ -243,5 +243,7 @@ def flood_fill(document: 'AnsiArtDocument', x: int, y: int, fill_ch: str, fill_f
|
||||
x1 = x1 + 1
|
||||
x = x1
|
||||
|
||||
document.update_style_cache()
|
||||
|
||||
# Return the affected region.
|
||||
return Region(min_x, min_y, max_x - min_x + 1, max_y - min_y + 1)
|
||||
|
Loading…
Reference in New Issue
Block a user