From 0a6cf3cb3db3eb3f279f6281a5da64d16fe6f537 Mon Sep 17 00:00:00 2001 From: aaa1115910 Date: Wed, 12 Jun 2024 23:31:24 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E5=A4=8D=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E6=9D=A1=E9=A2=84=E8=A7=88=E9=94=99=E8=AF=AF=E7=9A=84=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=A4=A7=E5=B0=8F=E4=BF=A1=E6=81=AF=E4=BC=9A=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=B4=A9=E6=BA=83"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fe74d3ecd54c5f40a46b088fdc684f1e11363502. --- .../kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt b/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt index 5d7e6184..1eae0225 100644 --- a/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt +++ b/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt @@ -56,8 +56,8 @@ data class VideoShot( images = images, imageCountX = videoShot.imgXLen, imageCountY = videoShot.imgYLen, - imageWidth = videoShot.imgXSize.takeIf { it > 0 } ?: 160, - imageHeight = videoShot.imgYSize.takeIf { it > 0 } ?: 90 + imageWidth = videoShot.imgXSize, + imageHeight = videoShot.imgYSize ) } }