change block deletion overlap threshold from .66 to .4

This commit is contained in:
Ben Wheeler 2020-10-05 10:35:25 -04:00
parent b3d800ec3e
commit 664abf561a

View file

@ -498,7 +498,7 @@ export default class Palette {
(sc.flowCaret.next != null) || (sc.flowCaret.inside != null))) {
return 'scripts';
}
if (box2.overlapElemBy(box, 0.66) && box2.hitRect({x: el.left / scale, y: el.top / scale})) {
if (box2.overlapElemBy(box, 0.4) && box2.hitRect({x: el.left / scale, y: el.top / scale})) {
return 'palette';
}
if (pt && box2.hitRect(pt)) {