mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
be03b04ef0
- 修复了虚拟牌点数相加的bug - 修复cleaner出错直接爆炸 - QML的代码将宽度控制到80以内
22 lines
487 B
QML
22 lines
487 B
QML
import QtQuick
|
|
import Fk
|
|
|
|
Image {
|
|
property string general
|
|
|
|
width: 64
|
|
height: 64
|
|
source: SkinBank.getGeneralExtraPic(general, "avatar/")
|
|
?? SkinBank.getGeneralPicture(general)
|
|
// sourceSize.width: 250
|
|
// sourceSize.height: 292
|
|
property bool useSmallPic: !!SkinBank.getGeneralExtraPic(general, "avatar/")
|
|
sourceClipRect: useSmallPic ? undefined : Qt.rect(61, 0, 128, 128)
|
|
|
|
Rectangle {
|
|
anchors.fill: parent
|
|
color: "transparent"
|
|
border.width: 1
|
|
}
|
|
}
|