Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take padding into account when calculating lineheight
The helper function getLineHeight calculates the height of a contextmenu entry by mocking two entries and divide the height of the container by two. But this does not take the padding of the container into account. Padding must be substracted from the offsetHeight.
- Loading branch information