Moved constants of arc angles to td_ui.

This commit is contained in:
23rd
2023-01-11 07:56:01 +03:00
parent cdfdccbb66
commit 58ed30d30e
17 changed files with 38 additions and 29 deletions
@@ -35,8 +35,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace {
constexpr auto kFullArcLength = 360 * 16;
enum class Color {
Permanent,
Expiring,
@@ -740,7 +738,7 @@ void LinksController::rowPaintIcon(
margins,
margins,
margins,
}), (kFullArcLength / 4), kFullArcLength * (1. - progress));
}), arc::kQuarterLength, arc::kFullLength * (1. - progress));
}
}