This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent eaeb74ef7a
commit 030913dc48
4 files changed
+27 -9

No files matched your search

+11 -1
View File
@@ -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;