@cc-component/cc-guide 1.1.2 → 1.1.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.
@@ -29,6 +29,8 @@ export interface ITableGuide {
29
29
  dialogY: number;
30
30
  /** 节点显示触发引导组 */
31
31
  enableGroup: number;
32
+ /** 节点隐藏触发引导组-触发 */
33
+ enableGroupTask: number;
32
34
  /**声音路径 */
33
35
  sound: string;
34
36
  }
@@ -71,9 +71,9 @@ export class GuideViewMask extends Component {
71
71
  this.refesh(this.model.currentPrompt.data.showType);
72
72
  if (this.model.currentPrompt && this.model.currentPrompt.data.backgroundImage) {
73
73
  if (this.model.current_bg !== this.model.currentPrompt.data.backgroundImage) {
74
+ this.model.current_bg = this.model.currentPrompt.data.backgroundImage;
74
75
  GuideModule.GuideCenter.LoadSprite(this.big_sp, GuideModule.GuideCenter.spriteRootPath(this.model.currentPrompt.data.backgroundImage), () => {
75
- //if (this.big_sp && this.big_sp.isValid)
76
- // this.big_sp.fitHeight()
76
+
77
77
  });
78
78
  } else {
79
79
  this.big_sp.spriteFrame = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-guide",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",