InputCommon: Use Clock from CommonTypes.

This commit is contained in:
Jordan Woyak
2025-03-02 15:42:26 -06:00
parent 65726b7b5f
commit e217d6c939
4 changed files with 3 additions and 8 deletions

View File

@ -170,7 +170,7 @@ public:
// Ignore the mouse-click that queued this new detection and finalize the current mapping.
auto results = m_input_detector->TakeResults();
ciface::MappingCommon::RemoveDetectionsAfterTimePoint(
&results, ciface::Core::DeviceContainer::Clock::now() - INPUT_DETECT_ENDING_IGNORE_TIME);
&results, Clock::now() - INPUT_DETECT_ENDING_IGNORE_TIME);
FinalizeMapping(&results);
}
UpdateInputDetectionStartTimer();