backdrop click

This commit is contained in:
Yuri Kuznetsov
2024-08-22 17:28:23 +03:00
parent e571a63a30
commit 3c50a0e058
@@ -113,4 +113,12 @@ export default class UserSelectPositionModalView extends ModalView {
this.props.onApply(this.model.attributes.position);
this.close();
}
onBackdropClick() {
if (this.recordView.isChanged) {
return;
}
this.close();
}
}