mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Fix drawing in tiled mode & tiles mode
This commit is contained in:
parent
5ff7b6af0c
commit
cfdbe91b4a
@ -61,8 +61,8 @@ void PointShape::doInkHline(int x1, int y, int x2, ToolLoop* loop)
|
||||
if (w >= size)
|
||||
ink->inkHline(0, y, size-1, loop);
|
||||
else {
|
||||
x = wrap_value(x1, loop->sprite()->width());
|
||||
if (x+w <= loop->sprite()->width()) {
|
||||
x = wrap_value(x1, dstw);
|
||||
if (x+w <= dstw) {
|
||||
// Here we asure that tile limit line does not bisect the current
|
||||
// scanline, i.e. the scanline is enterely contained inside the tile.
|
||||
ink->prepareUForPointShapeWholeScanline(loop, x1);
|
||||
|
Loading…
Reference in New Issue
Block a user