mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use crl::time/now instead of TimeMs/getms.
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
int left,
|
||||
int top,
|
||||
int outerWidth,
|
||||
TimeMs ms) override;
|
||||
crl::time ms) override;
|
||||
QImage prepareRippleMask() const override;
|
||||
bool checkRippleStartPosition(QPoint position) const override;
|
||||
|
||||
@@ -72,7 +72,7 @@ void SectionToggle::paint(
|
||||
int left,
|
||||
int top,
|
||||
int outerWidth,
|
||||
TimeMs ms) {
|
||||
crl::time ms) {
|
||||
auto sqrt2 = sqrt(2.);
|
||||
auto vLeft = rtlpoint(left + _st.skip, 0, outerWidth).x() + 0.;
|
||||
auto vTop = top + _st.skip + 0.;
|
||||
|
Reference in New Issue
Block a user