diff --git a/CHANGELOG.md b/CHANGELOG.md index 94e9c6d..f8ccd03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Do not include delay times in the delay time table if the delay unit is disabled ([#139][i139]) +### Changed +- Moved the error and warning popups slightly up so they don't block the unit + control buttons ([#142][i142]) + ## v0.4.0 ### Added - User can drop preset instruments into `os.UserConfigDir()/sointu/presets/` and @@ -182,5 +186,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [i129]: https://github.com/vsariola/sointu/issues/129 [i130]: https://github.com/vsariola/sointu/issues/130 [i139]: https://github.com/vsariola/sointu/issues/139 +[i142]: https://github.com/vsariola/sointu/issues/142 [i145]: https://github.com/vsariola/sointu/issues/145 [i146]: https://github.com/vsariola/sointu/issues/146 diff --git a/tracker/gioui/popup_alert.go b/tracker/gioui/popup_alert.go index 656a704..6ffcfb6 100644 --- a/tracker/gioui/popup_alert.go +++ b/tracker/gioui/popup_alert.go @@ -35,7 +35,7 @@ func (a *PopupAlert) Layout(gtx C) D { } a.prevUpdate = now - var totalY float64 + var totalY float64 = float64(gtx.Dp(38)) a.alerts.Iterate(func(alert tracker.Alert) { var color, textColor, shadeColor color.NRGBA switch alert.Priority {