Skip to content

Commit

Permalink
Merge pull request #1155 from Armored-Dragon/fix/avatarAppIconIssues
Browse files Browse the repository at this point in the history
[ Avatar App ] Fixed lingering references to now deleted QML element
  • Loading branch information
ksuprynowicz authored Oct 5, 2024
2 parents 2824067 + 9a989e5 commit af1306b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion interface/resources/qml/hifi/AvatarApp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ Rectangle {
}

pageTitle: currentPage
avatarIconVisible: mainPageVisible
settingsButtonVisible: mainPageVisible
onSettingsClicked: {
displayNameInput.focus = false;
Expand Down
8 changes: 3 additions & 5 deletions interface/resources/qml/hifi/avatarapp/AvatarAppHeader.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ShadowRectangle {
height: 60

property alias pageTitle: title.text
property alias avatarIconVisible: avatarIcon.visible
property alias settingsButtonVisible: settingsButton.visible

signal settingsClicked;
Expand All @@ -24,17 +23,16 @@ ShadowRectangle {
RalewaySemiBold {
id: title
size: 22;
anchors.left: avatarIcon.visible ? avatarIcon.right : avatarIcon.left
anchors.leftMargin: 4
anchors.verticalCenter: avatarIcon.verticalCenter
x: 20
anchors.verticalCenter: parent.verticalCenter
text: 'Avatar'
}

HiFiGlyphs {
id: settingsButton
anchors.right: parent.right
anchors.rightMargin: 30
anchors.verticalCenter: avatarIcon.verticalCenter
anchors.verticalCenter: parent.verticalCenter
text: "&"

MouseArea {
Expand Down

0 comments on commit af1306b

Please sign in to comment.