mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
Aliyundrive (#436)
* init * init * add example * add initControl * add initControl * update style * update style * update style * update style * update style * update style * update style * update style * build all * build all * update style
This commit is contained in:
1 parent
4dcde5a539
commit
6b791be35a
52 files changed
+689
-50
No files matched your search
@@ -122,6 +122,10 @@ export default class Component {
|
||||
append($list, list);
|
||||
append($ref, $list);
|
||||
|
||||
if (this.art.option.backdrop) {
|
||||
addClass($list, 'art-backdrop-filter');
|
||||
}
|
||||
|
||||
const setLeft = () => {
|
||||
const left = getStyle($ref, 'width') / 2 - getStyle($list, 'width') / 2;
|
||||
$list.style.left = `${left}px`;
|
||||
|
||||
Reference in new issue
Block a user