调整设置面板样式

This commit is contained in:
zhw2590582 committed 2019-04-21 09:34:56 +08:00
1 parent 8b88db6e71
commit 53c5502b0f
7 files changed
+28 -38

No files matched your search

+12 -8
View File
@@ -16,19 +16,23 @@ export default class Setting {
init() {
const {
template: { $settingClose },
template: { $setting },
events: { proxy },
} = this.art;
proxy($settingClose, 'click', () => {
this.hide();
proxy($setting, 'click', e => {
if (e.target === $setting) {
this.hide();
}
});
this.add(flip({
disable: false,
name: 'flip',
index: 10,
}));
this.add(
flip({
disable: false,
name: 'flip',
index: 10,
}),
);
}
add(item, callback) {