Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Razvan1928 committed Mar 25, 2024
1 parent 1e907e8 commit dbbe3b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/nimble-components/src/wafer-map/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,18 +260,18 @@ export class WaferMap<
if (this.waferMapUpdateTracker.requiresContainerDimensionsUpdate) {
this.zoomHandler.disconnect();
this.dataManager.updateContainerDimensions();
this.renderer.updateSortedDiesAndDrawWafer();
await this.renderer.updateSortedDiesAndDrawWafer();
await this.drawWafer();
this.zoomHandler.connect();
} else if (this.waferMapUpdateTracker.requiresScalesUpdate) {
this.dataManager.updateScales();
this.renderer.updateSortedDiesAndDrawWafer();
await this.renderer.updateSortedDiesAndDrawWafer();
} else if (this.waferMapUpdateTracker.requiresLabelsFontSizeUpdate) {
this.dataManager.updateLabelsFontSize();
this.renderer.updateSortedDiesAndDrawWafer();
await this.renderer.updateSortedDiesAndDrawWafer();
} else if (this.waferMapUpdateTracker.requiresDiesRenderInfoUpdate) {
this.dataManager.updateDiesRenderInfo();
this.renderer.updateSortedDiesAndDrawWafer();
await this.renderer.updateSortedDiesAndDrawWafer();
} else if (this.waferMapUpdateTracker.requiresDrawnWaferUpdate) {
await this.renderer.drawWafer();
} else if (this.waferMapUpdateTracker.requiresRenderHoverUpdate) {
Expand Down

0 comments on commit dbbe3b0

Please sign in to comment.