mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 23:53:08 +01:00
ESLint Disable no-constant-condition in Canvas
This commit is contained in:
parent
f6485d9830
commit
1f7245644e
@ -110,6 +110,7 @@ class Canvas {
|
||||
|
||||
width = (width + 1) / 2;
|
||||
|
||||
/* eslint-disable no-constant-condition */
|
||||
while (true) {
|
||||
this.buffer.setPixel(x0, y0, color);
|
||||
let e2 = err;
|
||||
@ -141,6 +142,7 @@ class Canvas {
|
||||
y0 += sy;
|
||||
}
|
||||
}
|
||||
/* eslint-enable */
|
||||
}
|
||||
|
||||
_filledRectangle(x, y, width, height, color) {
|
||||
|
Loading…
Reference in New Issue
Block a user