only show croper when isSD===True

This commit is contained in:
Qing 2022-11-13 12:50:22 +08:00
parent 4f42dda2cf
commit 8cdac238b4

View File

@ -1074,7 +1074,7 @@ export default function Editor() {
</div>
</div>
{settings.showCroper ? (
{isSD && settings.showCroper ? (
<Croper
maxHeight={original.naturalHeight}
maxWidth={original.naturalWidth}