mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
CR fixes
This commit is contained in:
parent
dfac0d88a2
commit
8357f1f9b5
2 changed files with 5 additions and 3 deletions
|
@ -728,7 +728,7 @@ Rectangle {
|
|||
top: parent.top
|
||||
leftMargin: 20
|
||||
}
|
||||
width: 322
|
||||
width: root.isLoggedIn ? 322 : 242
|
||||
height: 36
|
||||
|
||||
radius: 4
|
||||
|
@ -790,6 +790,8 @@ Rectangle {
|
|||
glyph: model.glyph
|
||||
text: model.name
|
||||
|
||||
visible: root.isLoggedIn || model.sortString != "my_likes"
|
||||
|
||||
checked: ListView.isCurrentItem
|
||||
|
||||
onClicked: {
|
||||
|
|
|
@ -185,7 +185,7 @@ Rectangle {
|
|||
bottom: parent.bottom
|
||||
}
|
||||
onClicked: {
|
||||
if(isLoggedIn) {
|
||||
if (isLoggedIn) {
|
||||
root.liked = !root.liked;
|
||||
root.likes = root.liked ? root.likes + 1 : root.likes - 1;
|
||||
MarketplaceScriptingInterface.marketplaceItemLike(root.item_id, root.liked);
|
||||
|
@ -203,7 +203,7 @@ Rectangle {
|
|||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
height: width*0.5625
|
||||
height: width * 0.5625
|
||||
|
||||
source: root.image_url
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
|
|
Loading…
Reference in a new issue