mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
update
This commit is contained in:
1 parent
eaeb74ef7a
commit
030913dc48
4 files changed
+27
-9
No files matched your search
@@ -4385,7 +4385,10 @@
|
||||
|
||||
_this = _super.call(this, art);
|
||||
var option = art.option,
|
||||
$setting = art.template.$setting;
|
||||
proxy = art.events.proxy,
|
||||
_art$template = art.template,
|
||||
$setting = _art$template.$setting,
|
||||
$player = _art$template.$player;
|
||||
_this.art = art;
|
||||
_this.name = 'setting';
|
||||
_this.$parent = $setting;
|
||||
@@ -4418,6 +4421,13 @@
|
||||
|
||||
_this.init(_this.option);
|
||||
});
|
||||
proxy($player, 'click', function (event) {
|
||||
if (_this.show && !includeFromEvent(event, art.controls.setting) && !includeFromEvent(event, _this.$parent)) {
|
||||
_this.show = false;
|
||||
|
||||
_this.init(_this.option);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
return _this;
|
||||
|
||||
Reference in new issue
Block a user