diff options
| author | sam-anthony <samanthony6@protonmail.com> | 2022-04-12 18:10:47 -0230 |
|---|---|---|
| committer | sam-anthony <samanthony6@protonmail.com> | 2022-04-12 18:10:47 -0230 |
| commit | c177249a57b00950d9351a1901264846bd12e511 (patch) | |
| tree | ae88b652c4617e31f044d1f0f4dcdaebb7be8953 /ui.go | |
| parent | 6b8696836d07ee02509a02f56580caeef63b068b (diff) | |
| download | volute-c177249a57b00950d9351a1901264846bd12e511.zip | |
fix bug parsing pressure ratio from toml, remove stale code
Diffstat (limited to 'ui.go')
| -rw-r--r-- | ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -329,7 +329,7 @@ func updateCompImg() { min = selectedCompressor.MinY max = selectedCompressor.MaxY pr := pressureRatio[i] - maxPr := selectedCompressor.MaxPressureRatio + maxPr := selectedCompressor.MaxPR y := min - int(float32((min-max))*((pr-1.0)/(maxPr-1.0))) ps := m.Bounds().Dx() / 100 // Point size |