Skip to content

Commit

Permalink
Merge pull request #32 from cocopon/fix-folder-extra-padding
Browse files Browse the repository at this point in the history
Fix unexpected folder padding, #31
  • Loading branch information
cocopon authored Jan 23, 2020
2 parents 8e80703 + 45f7de9 commit 15b2d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/js/controller/folder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class FolderController {
DomUtil.forceReflow(elem);

// Compute height
height = elem.getBoundingClientRect().height;
height = elem.clientHeight;

// Restore expanded
this.folder.expanded = expanded;
Expand Down

0 comments on commit 15b2d60

Please sign in to comment.