MenuButton.qml

This commit is contained in:
xmr-eric 2017-03-02 13:13:54 -05:00 committed by GitHub
parent e826f7c1ec
commit c7435c5dfa

View file

@ -50,7 +50,7 @@ Rectangle {
color: checked ? "#FFFFFF" : "#1C1C1C" color: checked ? "#FFFFFF" : "#1C1C1C"
property bool present: !under || under.checked || checked || under.numSelectedChildren > 0 property bool present: !under || under.checked || checked || under.numSelectedChildren > 0
height: present ? ((appWindow.height >= 800) ? 64 : 56) : 0 height: present ? ((appWindow.height >= 800) ? 64 : 52) : 0
transform: Scale { transform: Scale {
yScale: button.present ? 1 : 0 yScale: button.present ? 1 : 0