移除多余文件

This commit is contained in:
Harvey committed 2021-11-24 14:07:39 +08:00
1 parent c5c4cf73eb
commit 74bc297e8f
39 files changed
+76 -16934

No files matched your search

-2
View File
@@ -23,7 +23,6 @@ import playingMix from './playingMix';
import autoSizeMix from './autoSizeMix';
import rectMix from './rectMix';
import flipMix from './flipMix';
import lightMix from './lightMix';
import miniMix from './miniMix';
import loopMin from './loopMin';
import rotateMix from './rotateMix';
@@ -57,7 +56,6 @@ export default class Player {
autoSizeMix(art, this);
rectMix(art, this);
flipMix(art, this);
lightMix(art, this);
miniMix(art, this);
loopMin(art, this);
rotateMix(art, this);
-15
View File
@@ -1,15 +0,0 @@
import { def, getStyle, setStyle } from '../utils';
export default function lightMix(art, player) {
const { $undercover } = art.template;
def(player, 'light', {
get() {
return getStyle($undercover, 'display', false) !== 'none';
},
set(value) {
setStyle($undercover, 'display', value ? 'block' : 'none');
art.emit('light', value);
},
});
}