Skip to content

Commit

Permalink
Fixed PR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Brelee2222 committed Jun 25, 2024
1 parent e2797eb commit 8e7a4ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 84 deletions.
80 changes: 0 additions & 80 deletions src/frontend/dash/busBubble.ts

This file was deleted.

5 changes: 2 additions & 3 deletions src/frontend/dash/circlePacker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export class Vector2D {
}

normalized() {
const divider = new Vector2D().getDistanceFrom(this);
const divisor = new Vector2D().getDistanceFrom(this);

return new Vector2D(this.x / divider, this.y / divider);
return new Vector2D(this.x / divisor, this.y / divisor);
}

scaled(scalar : number) {
Expand Down Expand Up @@ -59,7 +59,6 @@ export abstract class Circle {

destroy() {
this.element.remove();
console.log(placedCircles.splice(placedCircles.indexOf(this), 0));
}

abstract updateSize();
Expand Down
1 change: 0 additions & 1 deletion src/frontend/dash/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { getApiEndpoint } from "../../consts";
import type { LoggedIn, CluckMember } from "../../types";
import { Circle, ClockCircle, MemberCircle, placeCircles, placedCircles, sizeCircles, updateCircleList, updateCircles } from "./circlePacker";
import { redrawCircles, getRatio } from "./renderCircles";
import { cyclePanel, setPanelVisibility } from "./chiefdelphi"
import { openFullscreen } from "../util";

Expand Down

0 comments on commit 8e7a4ff

Please sign in to comment.