mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-17 21:13:48 -07:00
animationmgr: avoid redundant ticks
This commit is contained in:
@@ -4,9 +4,10 @@
|
||||
|
||||
class CTimer {
|
||||
public:
|
||||
void reset();
|
||||
float getSeconds();
|
||||
int getMillis();
|
||||
void reset();
|
||||
float getSeconds();
|
||||
int getMillis();
|
||||
const std::chrono::system_clock::time_point& chrono() const;
|
||||
|
||||
private:
|
||||
std::chrono::system_clock::time_point m_tpLastReset;
|
||||
|
Reference in New Issue
Block a user