fix. [SWV-877] GNB 지표 정의 개선
This commit is contained in:
@@ -13,6 +13,7 @@ interface Props {
|
||||
variant?: ButtonVariant
|
||||
backgroundColor?: string
|
||||
textColor?: string
|
||||
useGameFont?: boolean
|
||||
disabled?: boolean
|
||||
}
|
||||
|
||||
@@ -29,7 +30,7 @@ const gameDataStore = useGameDataStore()
|
||||
const modalStore = useModalStore()
|
||||
const { isProcessing, validateLauncher } = useCheckGameStart()
|
||||
|
||||
const { gameName, platformType, osType, marketJson } =
|
||||
const { gameName, platformType, osType, marketJson, fontFamily } =
|
||||
storeToRefs(gameDataStore)
|
||||
|
||||
const PLATFORM_ICON_MAP: Record<Platform, string> = {
|
||||
@@ -82,6 +83,9 @@ const textStyle = computed<CSSProperties>(() => {
|
||||
if (props.textColor) {
|
||||
style.color = props.textColor
|
||||
}
|
||||
if (props.useGameFont && fontFamily.value) {
|
||||
style.fontFamily = fontFamily.value
|
||||
}
|
||||
|
||||
return style
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user