Skip to content

Commit

Permalink
made experimental check in hover
Browse files Browse the repository at this point in the history
  • Loading branch information
munteannatan committed Mar 27, 2024
1 parent 6174c79 commit b589a90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ export class HoverHandler {
private calculateDieCoordinates(
mousePosition: PointCoordinates
): PointCoordinates | undefined {
if (this.wafermap.dataManager instanceof DataManager) {
if (
this.wafermap.isExperimentalRenderer()
&& this.wafermap.dataManager instanceof DataManager
) {
const originLocation = this.wafermap.originLocation;
const xRoundFunction = originLocation === WaferMapOriginLocation.bottomLeft
|| originLocation === WaferMapOriginLocation.topLeft
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ export class HoverHandler {
private calculateDieCoordinates(
mousePosition: PointCoordinates
): PointCoordinates | undefined {
if (this.wafermap.dataManager instanceof DataManager) {
if (
!this.wafermap.isExperimentalRenderer()
&& this.wafermap.dataManager instanceof DataManager
) {
const originLocation = this.wafermap.originLocation;
const xRoundFunction = originLocation === WaferMapOriginLocation.bottomLeft
|| originLocation === WaferMapOriginLocation.topLeft
Expand Down

0 comments on commit b589a90

Please sign in to comment.