diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/all.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -115,7 +115,7 @@ static DrawList *render(State *state, UI *ui, Arena *a) {  			for (int subx = 0; subx < 2; subx++) {  				for (int suby = 0; suby < 2; suby++) {  					drawList->els[drawList->len++] = (DrawElement) { -						.x = cellWidth * x + subx * cellWidth / 2, +						.x = cellWidth * x + GRID_OFFSET_X + subx * cellWidth / 2,  						.y = cellHeight * y + suby * cellHeight / 2,  						.w = cellWidth / 2,  						.h = cellHeight / 2, @@ -128,7 +128,7 @@ static DrawList *render(State *state, UI *ui, Arena *a) {  	}  	drawList->els[drawList->len++] = (DrawElement) { -		.x = cellWidth * state->goalx, +		.x = cellWidth * state->goalx + GRID_OFFSET_X,  		.y = cellHeight * state->goaly,  		.w = cellWidth,  		.h = cellHeight, | 
