Initial commit.

This commit is contained in:
genxium
2022-09-20 23:50:01 +08:00
commit e90a335c56
432 changed files with 101884 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
'use strict';
Vue.component('localized-sprite', {
template: `
<cc-array-prop :target.sync="target.spriteFrameSet"></cc-array-prop>
<ui-prop name="Update Scene">
<ui-button
class="green tiny"
@confirm="refresh"
>
Refresh
</ui-button>
</ui-prop>
`,
props: {
target: {
twoWay: true,
type: Object,
},
},
methods: {
refresh: function () {
let i18n = window.require('LanguageData');
i18n.updateSceneRenderers();
}
}
});