mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Migrated from frequency timer to simple animation for item highlighting.
This commit is contained in:
@@ -1266,9 +1266,9 @@ void HistoryWidget::enqueueMessageHighlight(
|
||||
_highlighter.enqueue(view);
|
||||
}
|
||||
|
||||
crl::time HistoryWidget::highlightStartTime(
|
||||
float64 HistoryWidget::highlightOpacity(
|
||||
not_null<const HistoryItem*> item) const {
|
||||
return _highlighter.elementTime(item);
|
||||
return _highlighter.progress(item);
|
||||
}
|
||||
|
||||
int HistoryWidget::itemTopForHighlight(
|
||||
|
Reference in New Issue
Block a user