@realsee/dnalogel 3.42.0-alpha-tag.43 → 3.42.0-alpha-tag.44
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 +3 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +7 -7
- package/dist/index.umd.js +3 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +8 -8
- package/libs/PanoTagPlugin/controller/index.js +21 -21
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
- feat(PanoTagPlugin)
|
|
4
4
|
1. 优化fov变化时标签位置的计算
|
|
5
5
|
2. 可通过 `config.simulate3D` 启用模拟3d的近大远小的效果
|
|
6
|
-
3.
|
|
6
|
+
3. 添加 `loaded` 事件,load完成后触发
|
|
7
|
+
4. 添加 `tagsLengthChange` 事件,调用`addTag()`, `clearTags()`, `tag.destroy()` 等方法 使标签数量发生变化时触发
|
|
8
|
+
5. 性能优化
|
|
7
9
|
- fix(reblink): 修复将 Dom 的 opacity 主动设置为 0 时,反向闪烁动画不生效的问题。
|
|
8
10
|
- feat(Util): 新增 `Util.lookObject` 和 `Util.lookPoint`, 模型态下以最佳视角查看一个物体或坐标点。
|
|
9
11
|
|
|
@@ -26,6 +26,8 @@ export type TagClickParams = {
|
|
|
26
26
|
tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
|
|
27
27
|
});
|
|
28
28
|
export interface PluginEventMap extends BasePlugin.EventMap<State> {
|
|
29
|
+
loaded: () => void;
|
|
30
|
+
tagsLengthChange: () => void;
|
|
29
31
|
click: (params: TagClickParams) => void;
|
|
30
32
|
playStateChange: (params: {
|
|
31
33
|
event: Event;
|