Don't close ShareBox by outside click.

This commit is contained in:
John Preston 2023-09-05 21:31:57 +04:00
parent 107b72f442
commit 4bfe40d02e
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ void ShareBox::prepareCommentField() {
void ShareBox::prepare() {
prepareCommentField();
setCloseByOutsideClick(false);
_select->resizeToWidth(st::boxWideWidth);
Ui::SendPendingMoveResizeEvents(_select);