aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go2
-rw-r--r--ui.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 39483b2..6a24964 100644
--- a/main.go
+++ b/main.go
@@ -123,7 +123,7 @@ func setCompressor(c Compressor) {
func loop() {
g.SingleWindow().Layout(
- engineDisplacementRow(),
+ displacementRow(),
g.Table().
Size(g.Auto, 190).
Rows(
diff --git a/ui.go b/ui.go
index f218ea1..28692d6 100644
--- a/ui.go
+++ b/ui.go
@@ -13,7 +13,7 @@ func red() color.RGBA {
return color.RGBA{255, 0, 0, 255}
}
-func engineDisplacementRow() *g.RowWidget {
+func displacementRow() *g.RowWidget {
s := VolumeUnits[volumeUnitIndex]
unit, err := ParseVolumeUnit(s)
Check(err)