gipy: thickness fix

pull/3205/head
frederic wagner 2024-01-26 20:30:56 +01:00
parent 485b1fe5d0
commit 4575db21f4
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class Map {
let tile_y = absolute_tile_y - this.first_tile[1]; let tile_y = absolute_tile_y - this.first_tile[1];
let side = img.getWidth() - 6; let side = img.getWidth() - 6;
let thick = this.color[0] != 255; let thick = this.color[0] == 1;
img.setColor(this.color[0], this.color[1], this.color[2]); img.setColor(this.color[0], this.color[1], this.color[2]);
let tile_num = tile_x + tile_y * this.grid_size[0]; let tile_num = tile_x + tile_y * this.grid_size[0];