Support new rounding in bot inline keyboards.
This commit is contained in:
@@ -149,7 +149,7 @@ void PeerListWidget::mousePressEvent(QMouseEvent *e) {
|
||||
const auto item = _items[_pressed];
|
||||
if (!item->ripple) {
|
||||
auto memberRowWidth = rowWidth();
|
||||
auto mask = Ui::RippleAnimation::rectMask(QSize(memberRowWidth, _st.height));
|
||||
auto mask = Ui::RippleAnimation::RectMask(QSize(memberRowWidth, _st.height));
|
||||
item->ripple = std::make_unique<Ui::RippleAnimation>(_st.button.ripple, std::move(mask), [this, index = _pressed] {
|
||||
repaintRow(index);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user