mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-08 11:21:47 +08:00
chore: 右侧状态栏改为示例
This commit is contained in:
parent
038d8b06c3
commit
8531a7eea6
@ -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 属性显示
|
||||
|
||||
/** 一般属性 */
|
||||
|
@ -155,6 +155,8 @@ export interface ReplayingStatus {
|
||||
played: number;
|
||||
/** 总长度 */
|
||||
total: number;
|
||||
/** 是否是录像模式 */
|
||||
replaying: boolean;
|
||||
}
|
||||
|
||||
export interface ReplayingProps extends ToolbarProps {
|
||||
|
Loading…
Reference in New Issue
Block a user