Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Fix settings window height too large
Browse files Browse the repository at this point in the history
  • Loading branch information
Menci committed Aug 8, 2016
1 parent de02fa5 commit 02c6140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/moe-settings.js
Expand Up @@ -28,7 +28,7 @@ function showSettingsWindow() {
icon: Const.path + "/icons/Moeditor.ico",
autoHideMenuBar: true,
width: 600 * moeApp.config.get('scale-factor'),
height: 315 * moeApp.config.get('scale-factor'),
height: parseInt(315 * moeApp.config.get('scale-factor')),
webPreferences: {
zoomFactor: moeApp.config.get('scale-factor')
},
Expand Down

0 comments on commit 02c6140

Please sign in to comment.