807 + onStateChanged: { 808 + if( state == "EXPANDED") { 809 + monthView.compressed = true 810 + yBehavior.enabled = true 811 + } else if( state == "COMPRESSED") { 812 + monthView.compressed = false 813 + } 814 }
Instead of the above, inside monthView, just set the value of 'compressed' to be (eventView.state == "EXPANDED"), and the same for the value of 'enabled' inside yBehavior.
« Back to merge proposal
807 + onStateChanged: { compressed = true compressed = false
808 + if( state == "EXPANDED") {
809 + monthView.
810 + yBehavior.enabled = true
811 + } else if( state == "COMPRESSED") {
812 + monthView.
813 + }
814 }
Instead of the above, inside monthView, just set the value of 'compressed' to be (eventView.state == "EXPANDED"), and the same for the value of 'enabled' inside yBehavior.