mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-09 08:57:58 +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) {
|
if (auto && !core.domStyle.isVertical) {
|
||||||
try {
|
try {
|
||||||
Mota.Plugin.require('utils_g').maxGameScale();
|
Mota.Plugin.require('utils_g').maxGameScale(1);
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
var style = getComputedStyle(main.dom.gameGroup);
|
var style = getComputedStyle(main.dom.gameGroup);
|
||||||
var height = parseFloat(style.height);
|
var height = parseFloat(style.height);
|
||||||
|
@ -25,28 +25,6 @@
|
|||||||
@click="setFullscreen"
|
@click="setFullscreen"
|
||||||
/>
|
/>
|
||||||
</div>
|
</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-container">
|
||||||
<div id="buttons">
|
<div id="buttons">
|
||||||
<template v-if="!inHard">
|
<template v-if="!inHard">
|
||||||
|
Loading…
Reference in New Issue
Block a user