下采样冲突解决

This commit is contained in:
24186 2024-05-02 11:02:46 +08:00
parent 2a932ac01d
commit 7cfb730499
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export class SVGParseImpl implements IParseSvg {
editable: true,
desiredSize: defaultSize
};
if (request?.downsampType.getName()!==undefined && request?.downsampType.getName()!=='DownsampleNone') {
if (option?.downsampType.getName()!==undefined && option?.downsampType.getName()!=='DownsampleNone') {
const b: ESObject = new Downsampler().calculateScaling(imageInfo, hValue, wValue, option)
opts = {
editable: true,