Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Apr 29, 2024
1 parent 524bc7e commit 39280d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugin-src/translators/translateLineHeight.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const translateLineHeight = (
segment: Pick<StyledTextSegment, 'lineHeight' | 'fontSize'>
): number | undefined => {
// Penpot reads lineHeight as a multiplier of the font size
switch (segment.lineHeight.unit) {
case 'PIXELS':
return segment.lineHeight.value / segment.fontSize;
Expand Down

0 comments on commit 39280d4

Please sign in to comment.