fix(studio): resolve iOS HEAL auto-reload and grey blob with fast harmonic inpaint
This commit is contained in:
@@ -1452,7 +1452,7 @@ function clusterHealSpots(
|
||||
HEAL_FILL_MAX_LEVELS,
|
||||
Math.max(2, 1 + Math.ceil(Math.log2(2 + span / 2 / widest)))
|
||||
);
|
||||
const pad = 3 * HEAL_FILL_BLUR * widest * 2 ** (levelCount - 1);
|
||||
const pad = Math.max(16, Math.min(160, Math.round(3 * HEAL_FILL_BLUR * widest)));
|
||||
const boxLeft = Math.max(0, Math.floor(Math.min(...xs) - widest - pad));
|
||||
const boxTop = Math.max(0, Math.floor(Math.min(...ys) - widest - pad));
|
||||
const boxRight = Math.min(width, Math.ceil(Math.max(...xs) + widest + pad));
|
||||
|
||||
Reference in New Issue
Block a user