fix: strengthen scale adjust target hint
This commit is contained in:
parent
183d47fba0
commit
354fa98477
@ -869,7 +869,7 @@ function buildScaleAdjustSourceFootprintWashSvg(params: {
|
||||
const top = Math.max(0, box.top - blur);
|
||||
const right = Math.min(width, box.left + box.width + blur);
|
||||
const bottom = Math.min(height, box.top + box.height + blur);
|
||||
return `<rect x="${left}" y="${top}" width="${Math.max(1, right - left)}" height="${Math.max(1, bottom - top)}" fill="${SCALE_ADJUST_LAYOUT_GUIDE_WASH_COLOR}" fill-opacity="0.34" filter="url(#soft-wash)" />`;
|
||||
return `<rect x="${left}" y="${top}" width="${Math.max(1, right - left)}" height="${Math.max(1, bottom - top)}" fill="${SCALE_ADJUST_LAYOUT_GUIDE_WASH_COLOR}" fill-opacity="0.56" filter="url(#soft-wash)" />`;
|
||||
})
|
||||
.join("");
|
||||
|
||||
@ -1720,8 +1720,8 @@ export async function POST(request: NextRequest) {
|
||||
.length,
|
||||
scaleAdjustPromptStrategy: isScaleAdjustOperation
|
||||
? useScaleAdjustCoordinateGuide
|
||||
? "same-name-locked-source-tight-muted-target-placement-hint-v35-one-shot"
|
||||
: "locked-plate-tight-muted-target-placement-hint-v12"
|
||||
? "same-name-locked-source-tight-muted-target-placement-hint-v36-one-shot"
|
||||
: "locked-plate-tight-muted-target-placement-hint-v13"
|
||||
: undefined,
|
||||
scaleAdjustPostCompositeApplied: false,
|
||||
scaleAdjustUsesFullFrameOutput: isScaleAdjustOperation,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user