浏览代码

one more fix

Maldela 9 年之前
父节点
当前提交
e67d59623c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/contents/ui/PwmFan.qml

+ 2 - 2
package/contents/ui/PwmFan.qml

@@ -210,8 +210,8 @@ Rectangle {
                     if (fanOffCheckBox.checked) {
                         c.moveTo(stopPoint.centerX, height);
                     } else {
-                        c.moveTo(0, background.scaleY(fan.minPwm));
-                        c.lineTo(stopPoint.centerX, background.scaleY(fan.minPwm));
+                        c.moveTo(0, stopPoint.centerY);
+                        c.lineTo(stopPoint.centerX, stopPoint.centerY);
                     }
                     c.lineTo(stopPoint.centerX, stopPoint.centerY);
                     c.lineTo(maxPoint.centerX, maxPoint.centerY);