Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 286:6ad14086225e
small fix
author | oc |
---|---|
date | Sun, 11 Jan 2015 07:44:25 +0900 |
parents | b8e8d84c86ec |
children | 61938de1dd06 |
files | src/viewer_swing/java/com/glavsoft/viewer/UiSettings.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/UiSettings.java Sun Jan 11 07:28:43 2015 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/UiSettings.java Sun Jan 11 07:44:25 2015 +0900 @@ -114,7 +114,7 @@ // 1920x1080にするためにはscaleを何に設定すれば良いのかを計算する double hdWidth = 1920.0; double oldScaleFactor = uiSettingsData.getScalePercent(); - double scaleFactor = (hdWidth / width) * oldScaleFactor; + double scaleFactor = (hdWidth / width) * 100.0; if (scaleFactor > MAX_SCALE_PERCENT) { scaleFactor = MAX_SCALE_PERCENT; }