兼容3.6.1API

This commit is contained in:
dgflash
2022-10-12 22:14:32 +08:00
parent 9edc1b5095
commit 44f60ad5d9
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ export class RoundRectMask extends Component {
// @ts-ignore.
this.mask['onDraw'] = this.onDraw.bind(this.mask);
this.mask['_updateGraphics'] = this._updateGraphics.bind(this.mask);
this.mask.type = Mask.Type.RECT;
this.mask.type = Mask.Type.GRAPHICS_RECT;
}
}

View File

@@ -10,7 +10,7 @@
"userData": {
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": false,
"executionScope": "enclosed"
}
}