@realsee/dnalogel 3.81.26 → 3.81.27

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/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 3.81.27
2
+
3
+ - 修复全景测量新建标尺时放大镜开关控制错误实例的问题,开关立即作用于实际选点器。
4
+ - 创建模式控制器、切换模式和重新打开测量时沿用用户选择;关闭放大镜不影响选点和测量保存。
5
+
1
6
  ## 3.81.26
2
7
 
3
8
  - 测量与全景测量插件新增 `setMagnifierEnabled` 和 `magnifierEnabled`,默认开启。
@@ -50,6 +50,8 @@ export default class BaseController {
50
50
  protected get currentMeasureType(): MeasureType;
51
51
  private getMeasureType;
52
52
  constructor(params: ControllerParams);
53
+ /** 同步当前模式使用的放大镜用户开关。 */
54
+ setMagnifierEnabled(enabled: boolean): void;
53
55
  updateDistanceUI: () => void;
54
56
  updateAreaUI: () => void;
55
57
  protected removeLine(line: Line): void;
@@ -18,6 +18,7 @@ export default class EditController extends BaseController {
18
18
  private onIntersectionUpdate;
19
19
  constructor(params: ControllerParams);
20
20
  protected createPointSelector(_params: ControllerParams): PointSelector;
21
+ setMagnifierEnabled(enabled: boolean): void;
21
22
  protected disposeMagnifier(): void;
22
23
  dispose(): void;
23
24
  getEditingLines(): Line[];