mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
Merge pull request #87 from kendfss/master
fix: instrumenteditor starting expansion state
This commit is contained in:
commit
e73365b980
@ -132,7 +132,7 @@ func (ie *InstrumentEditor) Layout(gtx C, t *Tracker) D {
|
|||||||
func (ie *InstrumentEditor) layoutInstrumentHeader(gtx C, t *Tracker) D {
|
func (ie *InstrumentEditor) layoutInstrumentHeader(gtx C, t *Tracker) D {
|
||||||
header := func(gtx C) D {
|
header := func(gtx C) D {
|
||||||
collapseIcon := icons.NavigationExpandLess
|
collapseIcon := icons.NavigationExpandLess
|
||||||
if ie.commentExpanded {
|
if !ie.commentExpanded {
|
||||||
collapseIcon = icons.NavigationExpandMore
|
collapseIcon = icons.NavigationExpandMore
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user