chore: 右侧状态栏改为示例

This commit is contained in:
unanmed 2025-09-28 16:25:53 +08:00
parent 038d8b06c3
commit 8531a7eea6
2 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import { GameUI, SetupComponentOptions } from '@motajs/system-ui';
import { computed, ComputedRef, defineComponent, shallowReactive } from 'vue';
import { TextContent } from '../components';
import { DefaultProps, ElementLocator, Font } from '@motajs/render';
import {
DefaultProps,
ElementLocator,
@ -144,6 +145,10 @@ export const LeftStatusBar = defineComponent<StatusBarProps<ILeftHeroStatus>>(
return num.toString().padStart(2, '0');
};
const onNumpad = () => {
inNumpad.value = !inNumpad.value;
};
//#region 属性显示
/** 一般属性 */

View File

@ -155,6 +155,8 @@ export interface ReplayingStatus {
played: number;
/** 总长度 */
total: number;
/** 是否是录像模式 */
replaying: boolean;
}
export interface ReplayingProps extends ToolbarProps {