mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
parent
8710c1f14f
commit
82a1c5f5d5
|
@ -24,6 +24,7 @@ Flickable {
|
|||
|
||||
Layout.fillWidth: true
|
||||
font.pixelSize: 18
|
||||
color: "#E4D5A0"
|
||||
|
||||
readOnly: true
|
||||
selectByKeyboard: true
|
||||
|
|
|
@ -26,7 +26,10 @@ Item {
|
|||
}
|
||||
|
||||
ColumnLayout {
|
||||
Text { text: Backend.translate(gname) }
|
||||
Text {
|
||||
color: "#E4D5A0"
|
||||
text: Backend.translate(gname)
|
||||
}
|
||||
GridLayout {
|
||||
columns: 6
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@ ListView {
|
|||
font.pixelSize: 16
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.NoButton
|
||||
gesturePolicy: TapHandler.WithinBounds
|
||||
// acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.NoButton
|
||||
// gesturePolicy: TapHandler.WithinBounds
|
||||
onTapped: root.currentIndex = index;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ Item {
|
|||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.margins: 8
|
||||
general: general
|
||||
general: _general
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
@ -76,7 +76,7 @@ Item {
|
|||
text: {
|
||||
const win = winner.split("+").indexOf(role) !== -1;
|
||||
const winStr = win ? Backend.translate("Game Win") : Backend.translate("Game Lose");
|
||||
return "<b>" + Backend.translate(general) + "</b> " + Backend.translate(role) + " " + winStr;
|
||||
return "<b>" + Backend.translate(_general) + "</b> " + Backend.translate(role) + " " + winStr;
|
||||
}
|
||||
font.pixelSize: 20
|
||||
textFormat: Text.RichText
|
||||
|
@ -148,7 +148,7 @@ Item {
|
|||
repDate: t,
|
||||
playerName: name,
|
||||
gameMode: mode,
|
||||
general: general,
|
||||
_general: general,
|
||||
role: role,
|
||||
winner: winner,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user