Skip to content

Commit

Permalink
remove fix me guard
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal committed Jan 8, 2025
1 parent cb0e027 commit 55b403b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/packages/looker/src/lookers/abstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import { Events } from "../elements/base";
import { COMMON_SHORTCUTS, LookerElement } from "../elements/common";
import { ClassificationsOverlay, loadOverlays } from "../overlays";
import { Overlay } from "../overlays/base";
import { CONTAINS, Overlay } from "../overlays/base";
import processOverlays from "../processOverlays";
import {
BaseState,
Expand Down Expand Up @@ -313,10 +313,9 @@ export abstract class AbstractLooker<
this.pluckedOverlays
);

// todo: fix me
// this.state.mouseIsOnOverlay =
// Boolean(this.currentOverlays.length) &&
// this.currentOverlays[0].containsPoint(this.state) > CONTAINS.NONE;
this.state.mouseIsOnOverlay =
Boolean(this.currentOverlays.length) &&
this.currentOverlays[0].containsPoint(this.state) > CONTAINS.NONE;

postUpdate?.(this.state, this.currentOverlays, this.sample);

Expand Down

0 comments on commit 55b403b

Please sign in to comment.