separated game card into it's own .qml

This commit is contained in:
2026-08-14 09:05:01 -05:00
parent 32df106ab3
commit 39850225fc
3 changed files with 27 additions and 5 deletions
+2 -5
View File
@@ -222,13 +222,10 @@ QtObject {
gamesList.scrollTo(gamesList.snappedContentX(gamesList.contentX))
}
delegate: Rectangle { // TODO: design a real game card QML to replace this placeholder
delegate: GameCard {
id: gameTile
width: 120
height: 180
color: navigationManager.currentItem === gameTile ? "blue" : "white"
highlighted: navigationManager.currentItem === gameTile
function onNavigationFocused() {
gamesList.currentIndex = index