mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Moved constants of arc angles to td_ui.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user