Skip to content

Commit

Permalink
fix: Add will-change: transform to force anti-aliasing.
Browse files Browse the repository at this point in the history
* Add a hint so browsers will still try to apply AA to our rotated
  key positions.
  • Loading branch information
petejohanson committed Aug 30, 2024
1 parent 30789f6 commit 899c355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/keyboard/PhysicalLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function scalePosition(
left,
transformOrigin,
transform,
willChange: "transform",
};
}

Expand Down

0 comments on commit 899c355

Please sign in to comment.