预加载字体

This commit is contained in:
2025-06-13 17:12:25 +08:00
parent 5367f16a30
commit 4ec72358d2
2 changed files with 20 additions and 5 deletions

View File

@@ -48,6 +48,11 @@ export const respath = {
return config.H_SCREEN ? "resources/dc/TrophyRoomCell_H.lh" : "resources/dc/TrophyRoomCell.lh"
},
font_Bold : "fonts/Inter-Bold-700.ttf",
font_Medium : "fonts/Inter-Medium-500.ttf",
font_Regular : "fonts/Inter-Regular-400.ttf",
font_SemiBold : "fonts/Inter-SemiBold-600.ttf",
// ===============================
bg_done: "images/bg_done.png",
bg_done_light: "images/bg_done_light.png",