From 74f1f415a4458424f4a4d50815991e3b013653a3 Mon Sep 17 00:00:00 2001 From: Todd Wolfson Date: Wed, 20 Jan 2021 11:33:22 -0800 Subject: [PATCH] Fixed removeCorner callback --- src/model/floorplan.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/floorplan.ts b/src/model/floorplan.ts index 12304cb..b1a7e44 100644 --- a/src/model/floorplan.ts +++ b/src/model/floorplan.ts @@ -139,7 +139,7 @@ module BP3D.Model { var corner = new Corner(this, x, y, id); this.corners.push(corner); corner.fireOnDelete(() => { - this.removeCorner; + this.removeCorner(corner); }); this.new_corner_callbacks.fire(corner); return corner;