mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-28 05:07:59 +08:00
feat: 默认字体使用 normal
This commit is contained in:
parent
a2848679c8
commit
a165e97027
@ -1,4 +1,4 @@
|
|||||||
import { createApp } from '@motajs/render';
|
import { createApp, Font } from '@motajs/render';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { MAIN_HEIGHT, MAIN_WIDTH } from './shared';
|
import { MAIN_HEIGHT, MAIN_WIDTH } from './shared';
|
||||||
import { loading } from '@user/data-base';
|
import { loading } from '@user/data-base';
|
||||||
@ -37,6 +37,8 @@ export function createRender() {
|
|||||||
sceneController.open(GameTitleUI, {});
|
sceneController.open(GameTitleUI, {});
|
||||||
mainRenderer.show();
|
mainRenderer.show();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Font.setDefaults(new Font('normal'));
|
||||||
}
|
}
|
||||||
|
|
||||||
export * from './components';
|
export * from './components';
|
||||||
|
@ -237,7 +237,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>(
|
|||||||
if (inDelete.value) {
|
if (inDelete.value) {
|
||||||
const confirm = await getConfirm(
|
const confirm = await getConfirm(
|
||||||
props.controller,
|
props.controller,
|
||||||
`确认要删除存档 ${index}?`,
|
`确认要删除存档 ${index + 1}?`,
|
||||||
[420, 240, void 0, void 0, 0.5, 0.5],
|
[420, 240, void 0, void 0, 0.5, 0.5],
|
||||||
240,
|
240,
|
||||||
{ winskin: 'winskin2.png' }
|
{ winskin: 'winskin2.png' }
|
||||||
|
Loading…
Reference in New Issue
Block a user