Fix up few small things
This commit is contained in:
parent
dc102a1590
commit
89d494fc3a
6 changed files with 506 additions and 62 deletions
|
|
@ -31,7 +31,7 @@ export class OverviewScene {
|
|||
public onSceneClick() {
|
||||
this.edges.forEach((edge, i) => {
|
||||
const dist = mp5.dist(mp5.mouseX, mp5.mouseY, edge.x, edge.y);
|
||||
if (dist < edge.r) {
|
||||
if (dist < edge.currentSize) {
|
||||
logger.log({
|
||||
type: 'OC',
|
||||
timestamp: Date.now(),
|
||||
|
|
|
|||
Reference in a new issue