Skip to content

Commit

Permalink
Fix unexpected folder padding, #31
Browse files Browse the repository at this point in the history
  • Loading branch information
cocopon committed Jan 23, 2020
1 parent 8e80703 commit 45f7de9
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 45f7de9

Please sign in to comment.