mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 10:20:27 +01:00
lint
This commit is contained in:
parent
5b14cb0b3e
commit
0075162c04
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ export async function applyWatermark(img: string | Blob, el: HTMLCanvasElement,
|
|||
|
||||
if (
|
||||
(watermarkAspectRatio > 1 && canvasAspectRatio > 1) || // 両方横長
|
||||
(watermarkAspectRatio < 1 && canvasAspectRatio < 1) // 両方縦長
|
||||
(watermarkAspectRatio < 1 && canvasAspectRatio < 1) // 両方縦長
|
||||
) {
|
||||
// 横幅を基準にウォーターマークのサイズを決定
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue