mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Improve gift pattern transparency.
This commit is contained in:
@@ -305,9 +305,9 @@ struct PatternPoint {
|
|||||||
};
|
};
|
||||||
[[nodiscard]] const std::vector<PatternPoint> &PatternPoints() {
|
[[nodiscard]] const std::vector<PatternPoint> &PatternPoints() {
|
||||||
static const auto kSmall = 0.7;
|
static const auto kSmall = 0.7;
|
||||||
static const auto kFaded = 0.5;
|
static const auto kFaded = 0.3;
|
||||||
static const auto kLarge = 0.85;
|
static const auto kLarge = 0.85;
|
||||||
static const auto kOpaque = 0.7;
|
static const auto kOpaque = 0.5;
|
||||||
static const auto result = std::vector<PatternPoint>{
|
static const auto result = std::vector<PatternPoint>{
|
||||||
{ { 0.5, 0.066 }, kSmall, kFaded },
|
{ { 0.5, 0.066 }, kSmall, kFaded },
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user