优化整体结构

This commit is contained in:
Harvey Zack committed 2019-04-30 13:06:24 +08:00
1 parent 9f9cb0e036
commit 487e865017
34 files changed
+505 -427

No files matched your search

+1 -2
View File
@@ -1,5 +1,4 @@
import { append, tooltip } from '../utils';
import icons from '../icons';
export default function pip(controlOption) {
return art => ({
@@ -10,7 +9,7 @@ export default function pip(controlOption) {
i18n,
player,
} = art;
const $pip = append($control, icons.pip);
const $pip = append($control, art.icons.pip);
tooltip($pip, i18n.get('Mini player'));
proxy($control, 'click', () => {
player.pipEnabled();