Skip to content

Commit

Permalink
Set width and height of seats to 10x10px
Browse files Browse the repository at this point in the history
  • Loading branch information
lindskogen committed Apr 22, 2019
1 parent 1a5efea commit 0a06666
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/src/use-cases/ticket/ScreenSeats.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ export const ScreenSeats = ({ ticketRange, seatMap }) => {
const maxWidth = Math.min(window.innerWidth - 80, 464);
const maxHeight = maxWidth * heightRatio;

const [
{
dimensions: { width, height }
}
] = seatMap;
const width = 10;
const height = 10;

const minY = minBy(seatMap, s => s.coordinates.y).coordinates.y;

Expand Down

0 comments on commit 0a06666

Please sign in to comment.