aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-01-20 18:01:48 -0500
committerSam Anthony <sam@samanthony.xyz>2024-01-20 18:01:48 -0500
commitd33a8a46d8d00117e792608f879e30e7a4b31a37 (patch)
tree4b021fe5e075a9223537fabdf420a9aebf42f62c
parent3c7c084774d355d9f1e5b176d0e4e4f88e02fe45 (diff)
downloadvolute-d33a8a46d8d00117e792608f879e30e7a4b31a37.zip
rename engineDisplacementRow() -> displacementRow()
-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)