mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 18:48:31 +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 (
|
if (
|
||||||
(watermarkAspectRatio > 1 && canvasAspectRatio > 1) || // 両方横長
|
(watermarkAspectRatio > 1 && canvasAspectRatio > 1) || // 両方横長
|
||||||
(watermarkAspectRatio < 1 && canvasAspectRatio < 1) // 両方縦長
|
(watermarkAspectRatio < 1 && canvasAspectRatio < 1) // 両方縦長
|
||||||
) {
|
) {
|
||||||
// 横幅を基準にウォーターマークのサイズを決定
|
// 横幅を基準にウォーターマークのサイズを決定
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue