@thatopen/components 3.4.3 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -12868,7 +12868,13 @@ const _FastModelPicker = class _FastModelPicker {
12868
12868
  const half = SCISSOR_PX >> 1;
12869
12869
  const sx = Math.max(0, Math.min(tw - SCISSOR_PX, cx - half));
12870
12870
  const sy = Math.max(0, Math.min(th - SCISSOR_PX, cy - half));
12871
- renderer.setScissor(sx, sy, SCISSOR_PX, SCISSOR_PX);
12871
+ const dpr = renderer.getPixelRatio();
12872
+ renderer.setScissor(
12873
+ sx / dpr,
12874
+ sy / dpr,
12875
+ SCISSOR_PX / dpr,
12876
+ SCISSOR_PX / dpr
12877
+ );
12872
12878
  renderer.setScissorTest(true);
12873
12879
  const objectsByModel = /* @__PURE__ */ new Map();
12874
12880
  for (const [modelId, model] of fragments.list) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@thatopen/components",
3
3
  "description": "Collection of core functionalities to author BIM apps.",
4
- "version": "3.4.3",
4
+ "version": "3.4.4",
5
5
  "author": "That Open Company",
6
6
  "contributors": [
7
7
  "Antonio Gonzalez Viegas (https://github.com/agviegas)",