Commit 6ba4d4bf authored by Hains van den Bosch's avatar Hains van den Bosch Committed by Andrius Štikonas
Browse files

Fix board loading.

REVIEW: 127989
CCBUG: 341777
parent cb1f4114
......@@ -101,19 +101,6 @@ Item {
cells.itemAt(row * Globals.COLUMN_COUNT + column).chipPreAnimationTime = value
}
CanvasItem {
id: boardBackground
anchors.fill: parent
spriteKey: "board"
}
CanvasItem {
id: boardLabels
anchors.fill: parent
visible: isShowingLabels
spriteKey: "board_numbers"
}
Item {
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
......
......@@ -26,7 +26,6 @@ import "globals.js" as Globals
Item {
id: tableContainer
anchors.fill: parent
/**
* Is board showing labels or not
......@@ -110,6 +109,14 @@ Item {
spriteKey: "background"
}
CanvasItem {
id: board_image
width: Math.min(parent.width, parent.height)
height: Math.min(parent.width, parent.height)
anchors.horizontalCenter: parent.horizontalCenter
spriteKey: "board"
}
Board {
id: board
width: Math.min(parent.width, parent.height)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment