This commit is contained in:
Harvey Zack committed 2018-11-09 20:06:56 +08:00
1 parent 1b91760be2
commit 3dc1e30bb3
15 files changed
+68 -197

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ export default function flipMix(art, player) {
Object.defineProperty(player, 'flip', {
value: dir => {
const dirList = ['horizontal', 'vertical'];
const dirList = ['normal', 'horizontal', 'vertical'];
errorHandle(dirList.includes(dir), `The 'angle' need to be one of '[horizontal, vertical]', but got ${dir}`);
art.refs.$player.dataset.flip = dir;
}