mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
Fix telemetry event names
add setting changed event for ShortcutGuide
This commit is contained in:
committed by
Enrico Giordani
parent
b892e731d9
commit
dc34379344
@@ -351,7 +351,7 @@ void D2DOverlayWindow::on_hide() {
|
||||
std::chrono::steady_clock::time_point shown_end_time = std::chrono::steady_clock::now();
|
||||
// Trace the event only if the overaly window was visible.
|
||||
if (shown_start_time.time_since_epoch().count() > 0) {
|
||||
Trace::EventHide(std::chrono::duration_cast<std::chrono::milliseconds>(shown_end_time - shown_start_time).count(), key_pressed);
|
||||
Trace::HideGuide(std::chrono::duration_cast<std::chrono::milliseconds>(shown_end_time - shown_start_time).count(), key_pressed);
|
||||
shown_start_time = {};
|
||||
}
|
||||
key_pressed.clear();
|
||||
|
||||
Reference in New Issue
Block a user