Skip to content

Commit

Permalink
viewer: fix tile inspector tabs [#49]
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Dec 1, 2022
1 parent b0fe168 commit 988a3b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/Inspector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const TileRow = (props: {
<td>{y}</td>
<td>{props.entry.offset}</td>
<td>{props.entry.length}</td>
<td>{props.entry.runLength}</td>
<td>{props.entry.runLength == 0 ? "directory" : "tile"}</td>
</TableRow>
);
};
Expand Down Expand Up @@ -318,12 +318,13 @@ function Inspector(props: { file: PMTiles }) {
<table>
<thead>
<tr>
<th>tileid</th>
<th>z</th>
<th>x</th>
<th>y</th>
<th>offset</th>
<th>length</th>
<th>is directory</th>
<th>type</th>
</tr>
</thead>
<tbody>{rows}</tbody>
Expand Down

0 comments on commit 988a3b2

Please sign in to comment.