diff options
| author | eperelm2 <emily_perelman@brown.edu> | 2023-08-24 20:54:45 +0200 |
|---|---|---|
| committer | eperelm2 <emily_perelman@brown.edu> | 2023-08-24 20:54:45 +0200 |
| commit | f189b4f65163a7bc231b5aa57f01d915f953931d (patch) | |
| tree | b8bd6fba593a29319972a40a07f572063b300b25 /src/client/views/newlightbox/ExploreView/ExploreView.tsx | |
| parent | 2fcad5e8bd1412487b4fcacefdc12a2df5707638 (diff) | |
| parent | 372face940712d239d48f9884ded34d82d170a94 (diff) | |
filter - made small finishing changes
Diffstat (limited to 'src/client/views/newlightbox/ExploreView/ExploreView.tsx')
| -rw-r--r-- | src/client/views/newlightbox/ExploreView/ExploreView.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/newlightbox/ExploreView/ExploreView.tsx b/src/client/views/newlightbox/ExploreView/ExploreView.tsx index 44a0bcd5f..a1d6375c4 100644 --- a/src/client/views/newlightbox/ExploreView/ExploreView.tsx +++ b/src/client/views/newlightbox/ExploreView/ExploreView.tsx @@ -12,14 +12,11 @@ export const ExploreView = (props: IExploreView) => { <div className={`exploreView-container`}> {recs && recs.map(rec => { - console.log(rec.embedding, bounds); const x_bound: number = Math.max(Math.abs(bounds.max_x), Math.abs(bounds.min_x)); const y_bound: number = Math.max(Math.abs(bounds.max_y), Math.abs(bounds.min_y)); - console.log(x_bound, y_bound); if (rec.embedding) { const x = (rec.embedding.x / x_bound) * 50; const y = (rec.embedding.y / y_bound) * 50; - console.log(x, y); return ( <div className={`exploreView-doc`} onClick={() => {}} style={{ top: `calc(50% + ${y}%)`, left: `calc(50% + ${x}%)` }}> {rec.title} |
