Skip to content

Commit

Permalink
Merge pull request SabakiHQ#771 from cravay/patch-1
Browse files Browse the repository at this point in the history
Fix crash on “View Comments” (SabakiHQ#719)
  • Loading branch information
apetresc authored Mar 2, 2021
2 parents fb40730 + 20231fa commit 56667bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class App extends Component {
!sabaki.window.isMinimized() &&
!sabaki.window.isFullScreen()
) {
sabaki.window.setContentSize(width + widthDiff, height)
sabaki.window.setContentSize(Math.floor(width + widthDiff), height)
}

window.dispatchEvent(new Event('resize'))
Expand Down

0 comments on commit 56667bd

Please sign in to comment.