mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 10:05:59 -05:00
change block deletion overlap threshold from .66 to .4
This commit is contained in:
parent
b3d800ec3e
commit
664abf561a
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue