mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
Make Start menu not appear if Shortcut Guide fade-in animation completes.
This commit is contained in:
committed by
Bartosz Sosnowski
parent
68d3450ff4
commit
123999febd
@@ -14,7 +14,7 @@ bool TargetState::signal_event(unsigned vk_code, bool key_down) {
|
||||
bool supress = false;
|
||||
if (!key_down && (vk_code == VK_LWIN || vk_code == VK_RWIN) &&
|
||||
state == Shown &&
|
||||
std::chrono::system_clock::now() - singnal_timestamp > std::chrono::seconds(1) &&
|
||||
std::chrono::system_clock::now() - singnal_timestamp > std::chrono::milliseconds(300) &&
|
||||
!key_was_pressed) {
|
||||
supress = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user