mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-14 18:54:30 +08:00
chore: 右侧状态栏改为示例
This commit is contained in:
1 parent
038d8b06c3
commit
8531a7eea6
2 files changed
+7
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user