mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-23 16:40:08 +00:00
Game2048 修复
Signed-off-by: wanghanghui <wanghanghui2@huawei.com>
This commit is contained in:
parent
61f247e0d8
commit
52776dae8b
@ -230,7 +230,7 @@ struct MyGridItem {
|
||||
|
||||
build() {
|
||||
Text(`${this.gridData.data === 0 ? '' : this.gridData.data}`)
|
||||
.fontSize(50)
|
||||
.fontSize(30)
|
||||
.fontColor(this.gridData.data <= 4 ? '#000' : $r('app.color.score_color'))
|
||||
.fontWeight(FontWeight.Bolder)
|
||||
.width('100%')
|
||||
|
Loading…
Reference in New Issue
Block a user