diff options
| author | sam-anthony <samanthony6@protonmail.com> | 2022-04-10 19:00:01 -0230 |
|---|---|---|
| committer | sam-anthony <samanthony6@protonmail.com> | 2022-04-10 19:00:01 -0230 |
| commit | 37400eb4b5f5a8ee16ff751c3a629ea836452a49 (patch) | |
| tree | 12bdd1935f698a9d739d1d0567ff5eeb7521bf6f /ui.go | |
| parent | 4f654973e5139f14d6fa63357a274ad0e3cbb202 (diff) | |
| download | volute-37400eb4b5f5a8ee16ff751c3a629ea836452a49.zip | |
update compressor image when add/remove point
Diffstat (limited to 'ui.go')
| -rw-r--r-- | ui.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -241,6 +241,7 @@ func duplicateDeleteRow() *g.TableRowWidget { engineMassFlowRate[i], i, ) + go updateCompImg() }), g.Button("Delete").OnClick(func() { if numPoints < 2 { @@ -253,6 +254,7 @@ func duplicateDeleteRow() *g.TableRowWidget { manifoldPressure = util.Remove(manifoldPressure, i) pressureRatio = util.Remove(pressureRatio, i) engineMassFlowRate = util.Remove(engineMassFlowRate, i) + go updateCompImg() }), )) } |