mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-08 20:01:47 +08:00
chore: 右侧状态栏改为示例
This commit is contained in:
parent
ce6d6a03ed
commit
a951f1c957
@ -1,6 +1,7 @@
|
|||||||
import { GameUI, SetupComponentOptions } from '@motajs/system-ui';
|
import { GameUI, SetupComponentOptions } from '@motajs/system-ui';
|
||||||
import { computed, ComputedRef, defineComponent, shallowReactive } from 'vue';
|
import { computed, ComputedRef, defineComponent, shallowReactive } from 'vue';
|
||||||
import { TextContent } from '../components';
|
import { TextContent } from '../components';
|
||||||
|
import { DefaultProps, ElementLocator, Font } from '@motajs/render';
|
||||||
import {
|
import {
|
||||||
DefaultProps,
|
DefaultProps,
|
||||||
ElementLocator,
|
ElementLocator,
|
||||||
@ -144,6 +145,10 @@ export const LeftStatusBar = defineComponent<StatusBarProps<ILeftHeroStatus>>(
|
|||||||
return num.toString().padStart(2, '0');
|
return num.toString().padStart(2, '0');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const onNumpad = () => {
|
||||||
|
inNumpad.value = !inNumpad.value;
|
||||||
|
};
|
||||||
|
|
||||||
//#region 属性显示
|
//#region 属性显示
|
||||||
|
|
||||||
/** 一般属性 */
|
/** 一般属性 */
|
||||||
|
@ -155,6 +155,8 @@ export interface ReplayingStatus {
|
|||||||
played: number;
|
played: number;
|
||||||
/** 总长度 */
|
/** 总长度 */
|
||||||
total: number;
|
total: number;
|
||||||
|
/** 是否是录像模式 */
|
||||||
|
replaying: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ReplayingProps extends ToolbarProps {
|
export interface ReplayingProps extends ToolbarProps {
|
||||||
|
Loading…
Reference in New Issue
Block a user