@maqiuyao/dxf-viewer 0.2.11 → 0.2.13

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.
@@ -178,6 +178,14 @@ export interface Viewer2dConfig extends BaseViewerConfig {
178
178
  * @default false
179
179
  */
180
180
  enableLocalCache?: boolean;
181
+ /**
182
+ * If to hide visually small objects (smaller than a few pixels on screen)
183
+ * when zooming out, as a performance optimization for drawings with a
184
+ * huge number of entities. Disabled by default: symbols would otherwise
185
+ * disappear when zooming out, which differs from AutoCAD.
186
+ * @default false
187
+ */
188
+ enableHideVisuallySmallObjects?: boolean;
181
189
  }
182
190
  /**
183
191
  * Dxf compare config.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maqiuyao/dxf-viewer",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "description": "基于 three.js 的 DXF 图纸 2D/3D 查看与对比库(Viewer2d / DxfCompareHelper)",
5
5
  "type": "module",
6
6
  "main": "./dist/dxf-viewer.cjs",