mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
Also request a low latency lock when hiding the zone window
This commit is contained in:
@@ -190,7 +190,10 @@ void ZoneWindowDrawing::Render()
|
|||||||
|
|
||||||
void ZoneWindowDrawing::Hide()
|
void ZoneWindowDrawing::Hide()
|
||||||
{
|
{
|
||||||
|
m_lowLatencyLock = true;
|
||||||
std::unique_lock lock(m_mutex);
|
std::unique_lock lock(m_mutex);
|
||||||
|
m_lowLatencyLock = false;
|
||||||
|
|
||||||
if (m_animation)
|
if (m_animation)
|
||||||
{
|
{
|
||||||
m_animation.reset();
|
m_animation.reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user