优化ready事件

This commit is contained in:
Harvey committed 2020-05-15 12:01:43 +08:00
1 parent 7b3913e318
commit 4cbefa172d
11 files changed
+21 -37

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ export default class Contextmenu extends Component {
this.$parent = $contextmenu;
art.on('ready', () => {
art.once('ready', () => {
this.add(
playbackRate({
disable: !option.playbackRate,