mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-03 17:18:20 -04:00
fix(tracker/gioui): move alert popups north to not overlay buttons
Closes #142.
This commit is contained in:
parent
9cb573d965
commit
59fb39d9b3
@ -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
|
- Do not include delay times in the delay time table if the delay unit is
|
||||||
disabled ([#139][i139])
|
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
|
## v0.4.0
|
||||||
### Added
|
### Added
|
||||||
- User can drop preset instruments into `os.UserConfigDir()/sointu/presets/` and
|
- 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
|
[i129]: https://github.com/vsariola/sointu/issues/129
|
||||||
[i130]: https://github.com/vsariola/sointu/issues/130
|
[i130]: https://github.com/vsariola/sointu/issues/130
|
||||||
[i139]: https://github.com/vsariola/sointu/issues/139
|
[i139]: https://github.com/vsariola/sointu/issues/139
|
||||||
|
[i142]: https://github.com/vsariola/sointu/issues/142
|
||||||
[i145]: https://github.com/vsariola/sointu/issues/145
|
[i145]: https://github.com/vsariola/sointu/issues/145
|
||||||
[i146]: https://github.com/vsariola/sointu/issues/146
|
[i146]: https://github.com/vsariola/sointu/issues/146
|
||||||
|
@ -35,7 +35,7 @@ func (a *PopupAlert) Layout(gtx C) D {
|
|||||||
}
|
}
|
||||||
a.prevUpdate = now
|
a.prevUpdate = now
|
||||||
|
|
||||||
var totalY float64
|
var totalY float64 = float64(gtx.Dp(38))
|
||||||
a.alerts.Iterate(func(alert tracker.Alert) {
|
a.alerts.Iterate(func(alert tracker.Alert) {
|
||||||
var color, textColor, shadeColor color.NRGBA
|
var color, textColor, shadeColor color.NRGBA
|
||||||
switch alert.Priority {
|
switch alert.Priority {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user