mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fixed gradient in Ui::Premium::BubbleWidget with large ui scale.
This commit is contained in:
parent
ed667a42ad
commit
675198d361
1 changed files with 3 additions and 1 deletions
|
@ -715,7 +715,9 @@ QLinearGradient ComputeGradient(
|
|||
anim::gradient_color_at(fullGradient, left / fullFinal));
|
||||
gradient.setColorAt(
|
||||
1.,
|
||||
anim::gradient_color_at(fullGradient, (left + width) / fullFinal));
|
||||
anim::gradient_color_at(
|
||||
fullGradient,
|
||||
std::min(1., (left + width) / fullFinal)));
|
||||
|
||||
return gradient;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue