Commit ecd70f79 authored by Denis Kuplyakov's avatar Denis Kuplyakov
Browse files

Rearrage items in QML classes according to their z-property

parent a16ec3fb
......@@ -46,7 +46,6 @@ Item {
KgCore.KgItem {
id: boardBackground
z: 0
anchors.fill: parent
provider: themeProvider
spriteKey: "board"
......@@ -54,7 +53,6 @@ Item {
KgCore.KgItem {
id: boardLabels
z: 0
anchors.fill: parent
visible: isShowingLabels
provider: themeProvider
......
......@@ -30,7 +30,6 @@ Item {
KgCore.KgItem {
id: cellLegalImage
z: 1
anchors.fill: parent
visible: isLegal
provider: themeProvider
......@@ -39,7 +38,6 @@ Item {
Rectangle {
id: cellLastMoveMarker;
z: 1
visible: isLastMove
anchors.fill: parent
color: "#AAAAAA"
......@@ -47,7 +45,6 @@ Item {
Chip {
id: reversiChip
z: 2
anchors.fill: parent
state: chipState + (isHint ? "_blinking" : "")
......
......@@ -29,7 +29,6 @@ Item {
KgCore.KgItem {
id: chipImage
z: 0
anchors.fill: parent
visible: false
provider: themeProvider
......
......@@ -51,7 +51,6 @@ Item {
KgCore.KgItem {
id: table_background
z: 0
anchors.fill: parent
provider: themeProvider
spriteKey: "background"
......@@ -59,7 +58,6 @@ Item {
Board {
id: board
z: 1
width: Math.min(parent.width, parent.height)
height: Math.min(parent.width, parent.height)
anchors.horizontalCenter: parent.horizontalCenter
......@@ -70,6 +68,5 @@ Item {
Popup {
id: popup
z: 2
}
}
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