🎨
This commit is contained in:
parent
9166a58c5f
commit
1eaf287b9c
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<canvas ref="canvasEl" style="width: 100%; height: 100%;"></canvas>
|
<canvas ref="canvasEl" style="width: 100%; height: 100%; pointer-events: none;"></canvas>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
@ -191,7 +191,6 @@ onMounted(() => {
|
|||||||
const u_focus = gl.getUniformLocation(shaderProgram, 'u_focus');
|
const u_focus = gl.getUniformLocation(shaderProgram, 'u_focus');
|
||||||
const u_itensity = gl.getUniformLocation(shaderProgram, 'u_itensity');
|
const u_itensity = gl.getUniformLocation(shaderProgram, 'u_itensity');
|
||||||
gl.uniform2fv(u_resolution, [canvas.width, canvas.height]);
|
gl.uniform2fv(u_resolution, [canvas.width, canvas.height]);
|
||||||
gl.uniform1f(u_time, 1.0);
|
|
||||||
gl.uniform1f(u_spread, 1.0);
|
gl.uniform1f(u_spread, 1.0);
|
||||||
gl.uniform1f(u_speed, 1.0);
|
gl.uniform1f(u_speed, 1.0);
|
||||||
gl.uniform1f(u_warp, 1.0);
|
gl.uniform1f(u_warp, 1.0);
|
||||||
|
@ -37,8 +37,8 @@ import { chooseFileFromPc } from '@/scripts/select-file';
|
|||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import { $i } from '@/account';
|
import { $i } from '@/account';
|
||||||
|
|
||||||
const name = ref('');
|
const name = ref($i.name ?? '');
|
||||||
const description = ref('');
|
const description = ref($i.description ?? '');
|
||||||
|
|
||||||
watch(name, () => {
|
watch(name, () => {
|
||||||
os.apiWithDialog('i/update', {
|
os.apiWithDialog('i/update', {
|
||||||
|
@ -42,7 +42,9 @@
|
|||||||
<div style="height: 100cqh; overflow: auto;">
|
<div style="height: 100cqh; overflow: auto;">
|
||||||
<MkSpacer :margin-min="20" :margin-max="28">
|
<MkSpacer :margin-min="20" :margin-max="28">
|
||||||
<XProfile/>
|
<XProfile/>
|
||||||
<MkButton primary rounded gradate style="margin: 16px auto 0 auto;" data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ti ti-arrow-right"></i></MkButton>
|
<div class="_buttonsCenter" style="margin-top: 16px;">
|
||||||
|
<MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ti ti-arrow-right"></i></MkButton>
|
||||||
|
</div>
|
||||||
</MkSpacer>
|
</MkSpacer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -50,7 +52,9 @@
|
|||||||
<div style="height: 100cqh; overflow: auto;">
|
<div style="height: 100cqh; overflow: auto;">
|
||||||
<MkSpacer :margin-min="20" :margin-max="28">
|
<MkSpacer :margin-min="20" :margin-max="28">
|
||||||
<XPrivacy/>
|
<XPrivacy/>
|
||||||
<MkButton primary rounded gradate style="margin: 16px auto 0 auto;" data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ti ti-arrow-right"></i></MkButton>
|
<div class="_buttonsCenter" style="margin-top: 16px;">
|
||||||
|
<MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ti ti-arrow-right"></i></MkButton>
|
||||||
|
</div>
|
||||||
</MkSpacer>
|
</MkSpacer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user