mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
One more time fixed display of send as button above voice record bar.
This commit is contained in:
parent
6cb0834d19
commit
234fdbed4a
2 changed files with 2 additions and 1 deletions
|
@ -1006,6 +1006,7 @@ void ComposeControls::setHistory(SetHistoryArgs &&args) {
|
||||||
}
|
}
|
||||||
session().local().readDraftsWithCursors(_history);
|
session().local().readDraftsWithCursors(_history);
|
||||||
applyDraft();
|
applyDraft();
|
||||||
|
orderControls();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ComposeControls::setCurrentDialogsEntryState(Dialogs::EntryState state) {
|
void ComposeControls::setCurrentDialogsEntryState(Dialogs::EntryState state) {
|
||||||
|
|
|
@ -945,7 +945,7 @@ CancelButton::CancelButton(not_null<Ui::RpWidget*> parent, int height)
|
||||||
: Ui::RippleButton(parent, st::defaultLightButton.ripple)
|
: Ui::RippleButton(parent, st::defaultLightButton.ripple)
|
||||||
, _width(st::historyRecordCancelButtonWidth)
|
, _width(st::historyRecordCancelButtonWidth)
|
||||||
, _rippleRect(QRect(0, (height - _width) / 2, _width, _width))
|
, _rippleRect(QRect(0, (height - _width) / 2, _width, _width))
|
||||||
, _text(st::semiboldTextStyle, tr::lng_selected_clear(tr::now).toUpper()) {
|
, _text(st::semiboldTextStyle, tr::lng_selected_clear(tr::now)) {
|
||||||
resize(_width, height);
|
resize(_width, height);
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue