mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
* [Launcher] ignoring key preses while previous key press processing is ongoing * extending TextChangedEventArgs with Initiator, storing and using initiator for the event lifetime to avoid overwriting of the initiator when parallel events occur. * extending code with check on event object presence
25 lines
676 B
C#
25 lines
676 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace PowerLauncher
|
|
{
|
|
internal sealed class TextChangedEventWithInitiatorArgs : TextChangedEventArgs
|
|
{
|
|
public TextChangedEventWithInitiatorArgs(RoutedEvent id, UndoAction action)
|
|
: base(id, action)
|
|
{
|
|
}
|
|
|
|
public bool IsTextSetProgrammatically { get; set; }
|
|
}
|
|
}
|