mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 17:00:19 +01:00
fix code review
This commit is contained in:
parent
0527331f50
commit
29f0bc4c7d
5 changed files with 6 additions and 19 deletions
|
@ -106,7 +106,6 @@ import XFile from '@/components/MkDrive.file.vue';
|
|||
import * as os from '@/os.js';
|
||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||
import { useStream } from '@/stream.js';
|
||||
import { $i } from '@/account.js';
|
||||
import { defaultStore } from '@/store.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { uploadFile, uploads } from '@/scripts/upload.js';
|
||||
|
|
|
@ -294,19 +294,6 @@ const focusedForm = ref<'top' | 'left' | 'right' | 'bottom' | null>(null);
|
|||
</script>
|
||||
|
||||
<style module>
|
||||
.transition_x_enterActive,
|
||||
.transition_x_leaveActive {
|
||||
transition: opacity 0.3s cubic-bezier(0,0,.35,1), transform 0.3s cubic-bezier(0,0,.35,1);
|
||||
}
|
||||
.transition_x_enterFrom {
|
||||
opacity: 0;
|
||||
transform: translateX(50px);
|
||||
}
|
||||
.transition_x_leaveTo {
|
||||
opacity: 0;
|
||||
transform: translateX(-50px);
|
||||
}
|
||||
|
||||
.watermarkEditorRoot {
|
||||
container-type: inline-size;
|
||||
height: 100%;
|
||||
|
|
|
@ -11,8 +11,8 @@ import { useStream } from '@/stream.js';
|
|||
import { i18n } from '@/i18n.js';
|
||||
import { defaultStore } from '@/store.js';
|
||||
import { uploadFile } from '@/scripts/upload.js';
|
||||
import { canApplyWatermark } from '@/scripts/watermark.js';
|
||||
import type { MenuItem } from '@/types/menu.js';
|
||||
import { canApplyWatermark } from './watermark.js';
|
||||
|
||||
export function chooseFileFromPc(opts?: {
|
||||
multiple?: boolean;
|
||||
|
|
|
@ -14,7 +14,7 @@ import { $i } from '@/account.js';
|
|||
import { alert } from '@/os.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { instance } from '@/instance.js';
|
||||
import { canApplyWatermark, getWatermarkAppliedImage } from './watermark.js';
|
||||
import { canApplyWatermark, getWatermarkAppliedImage } from '@/scripts/watermark.js';
|
||||
|
||||
type Uploading = {
|
||||
id: string;
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { getProxiedImageUrl } from "@/scripts/media-proxy.js";
|
||||
import { misskeyApi } from "@/scripts/misskey-api.js";
|
||||
import { defaultStore } from "@/store.js";
|
||||
|
||||
import { getProxiedImageUrl } from '@/scripts/media-proxy.js';
|
||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||
import { defaultStore } from '@/store.js';
|
||||
|
||||
export const watermarkAnchor = [
|
||||
'top-left',
|
||||
|
|
Loading…
Reference in a new issue