feat: make sure un focused target works.
This commit is contained in:
@@ -85,10 +85,6 @@ public class NumPad: TemplatedControl
|
|||||||
|
|
||||||
public void ProcessClick(object o)
|
public void ProcessClick(object o)
|
||||||
{
|
{
|
||||||
if (Target?.IsFocused != true)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (o is NumPadButton b)
|
if (o is NumPadButton b)
|
||||||
{
|
{
|
||||||
if (b.NumKey is null)
|
if (b.NumKey is null)
|
||||||
|
|||||||
Reference in New Issue
Block a user