mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use crl::time/now instead of TimeMs/getms.
This commit is contained in:
@@ -354,7 +354,7 @@ void TopBar::updateSelectionControlsGeometry(int newWidth) {
|
||||
void TopBar::paintEvent(QPaintEvent *e) {
|
||||
Painter p(this);
|
||||
|
||||
auto ms = getms();
|
||||
auto ms = crl::now();
|
||||
auto highlight = _a_highlight.current(ms, _highlight ? 1. : 0.);
|
||||
if (_highlight && !_a_highlight.animating()) {
|
||||
_highlight = false;
|
||||
|
Reference in New Issue
Block a user