mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-19 17:16:08 +08:00
fix: 全屏
This commit is contained in:
parent
646f9e3ab0
commit
63179995cd
@ -415,7 +415,7 @@ main.prototype.loadAsync = async function (mode, callback) {
|
||||
|
||||
if (auto && !core.domStyle.isVertical) {
|
||||
try {
|
||||
Mota.Plugin.require('utils_g').maxGameScale();
|
||||
Mota.Plugin.require('utils_g').maxGameScale(1);
|
||||
requestAnimationFrame(() => {
|
||||
var style = getComputedStyle(main.dom.gameGroup);
|
||||
var height = parseFloat(style.height);
|
||||
|
@ -25,28 +25,6 @@
|
||||
@click="setFullscreen"
|
||||
/>
|
||||
</div>
|
||||
<!-- <div id="background-gradient"></div>
|
||||
<div id="buttons">
|
||||
<right-outlined id="cursor" />
|
||||
<TransitionGroup name="start">
|
||||
<span
|
||||
class="start-button"
|
||||
v-for="(v, i) of toshow"
|
||||
:id="v"
|
||||
:key="v"
|
||||
:selected="selected === v"
|
||||
:showed="showed"
|
||||
@click="clickStartButton(v)"
|
||||
@mouseenter="
|
||||
movein(
|
||||
$event.target as HTMLElement,
|
||||
toshow.length - i - 1
|
||||
)
|
||||
"
|
||||
>{{ text[i] }}</span
|
||||
>
|
||||
</TransitionGroup>
|
||||
</div> -->
|
||||
<div id="buttons-container">
|
||||
<div id="buttons">
|
||||
<template v-if="!inHard">
|
||||
|
Loading…
Reference in New Issue
Block a user