Skip to content

Commit

Permalink
Don't increase gap for slit_index == 1
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnoc committed Nov 24, 2023
1 parent 7b71f46 commit 9acb60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mahjongwall.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def build_single_start(dice_roll, column_count, inner_side_length):
f'<use href="#start" x="{tail_x :.0f}" y="{tail_y :.0f}" />'
f'<g transform="'
f'translate('
f'{tail_x - (0.2 if dice_roll < column_count else 0.8) * TILE_HEIGHT :.0f} '
f'{tail_x - (0.2 if slit_index > 0 else 0.8) * TILE_HEIGHT :.0f} '
f'{tail_y + shrink_if(wall_index == 2 or dice_roll < 10) * 1.4 * TILE_HEIGHT :.0f}'
f') '
f'rotate({WALL_TILT_DEGREES + wall_index * 90}) '
Expand Down

0 comments on commit 9acb60d

Please sign in to comment.