From d33a8a46d8d00117e792608f879e30e7a4b31a37 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 20 Jan 2024 18:01:48 -0500 Subject: rename engineDisplacementRow() -> displacementRow() --- main.go | 2 +- ui.go | 2 +- 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) -- cgit v1.2.3