mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 08:03:45 +08:00
[img-editor] Fixed drag and drop over graphics view in paint widget.
This commit is contained in:
@@ -114,6 +114,8 @@ Paint::Paint(
|
||||
_viewport->setAutoFillBackground(false);
|
||||
_viewport->setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
_viewport->installEventFilter(this);
|
||||
_view->setAcceptDrops(false);
|
||||
_viewport->setAcceptDrops(false);
|
||||
|
||||
_scene->textEditStates(
|
||||
) | rpl::on_next([=](bool editing) {
|
||||
|
||||
Reference in New Issue
Block a user