Skip to content

Commit

Permalink
Increasing block height to account for handle
Browse files Browse the repository at this point in the history
  • Loading branch information
guzmanvig committed Jan 9, 2024
1 parent a681701 commit 70d5f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Linear/Linear.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class Linear extends React.Component<LinearProps> {
blockHeight += lineHeight; // another for index row
}
if (translationRows[i].length) {
blockHeight += translationRows[i].length * elementHeight;
blockHeight += translationRows[i].length * elementHeight * 2; // * 2 to account for the translation handle
}
if (annotationRows[i].length) {
blockHeight += annotationRows[i].length * elementHeight;
Expand Down

0 comments on commit 70d5f78

Please sign in to comment.