mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 08:03:45 +08:00
[img-editor] Added commit of active text editing on new text creation.
This commit is contained in:
@@ -930,7 +930,7 @@ void Scene::setupTextProxy(
|
||||
|
||||
void Scene::createTextAtCenter(int rotation, bool flipped) {
|
||||
if (_textEdit.proxy) {
|
||||
return;
|
||||
finishTextEditing(true);
|
||||
}
|
||||
|
||||
const auto generation = ++_textEditGeneration;
|
||||
|
||||
Reference in New Issue
Block a user