2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added initial support of trial voice transcribes.

This commit is contained in:
23rd
2023-11-29 07:29:27 +03:00
parent a546b3a9b6
commit 27b284ef5b
13 changed files with 240 additions and 20 deletions

View File

@@ -9,8 +9,8 @@
#include "lang/lang_keys.h"
#include "ui/abstract_button.h"
#include "ui/effects/shake_animation.h"
#include "ui/painter.h"
#include "ui/rect.h"
#include "ui/text/text_entity.h"
#include "ui/widgets/popup_menu.h"
#include "styles/style_intro.h"
#include "styles/style_layers.h" // boxRadius
@@ -127,7 +127,10 @@ void CodeDigit::paintEvent(QPaintEvent *e) {
p.setClipPath(clipPath);
p.fillRect(rect(), st::windowBgOver);
p.strokePath(clipPath, _borderPen);
{
auto hq = PainterHighQualityEnabler(p);
p.strokePath(clipPath, _borderPen);
}
if (_viewDigit == kDigitNone) {
return;