forked from openkylin/ukui-menu
修改文件夹内显示置顶功能bug
This commit is contained in:
parent
2fef20d39f
commit
40acf2fed9
|
@ -34,7 +34,8 @@ MouseArea {
|
|||
Loader {
|
||||
id: tag
|
||||
property bool recentInsatlled: false
|
||||
visible: (toTop !== 0) || recentInsatlled
|
||||
property bool fixToTop: (toTop !== undefined) && (toTop !== 0)
|
||||
visible: fixToTop || recentInsatlled
|
||||
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
@ -60,7 +61,7 @@ MouseArea {
|
|||
}
|
||||
}
|
||||
}
|
||||
sourceComponent: (toTop === 0) ? tag.recentInsatlled ? tagPoint : null : tagImage
|
||||
sourceComponent: tag.fixToTop ? tagImage : tag.recentInsatlled ? tagPoint : null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue