Fix event propagation

Add Modal to avoid upward event propagation
This commit is contained in:
2021-01-23 11:24:07 +01:00
parent 7b7e83a7d2
commit 2843fe93a7
3 changed files with 6 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ namespace WaveshareUARTFingerprintSensor.Sample.Views
private void Init()
{
Modal = true;
ColorScheme = Colors.TopLevel;
// Creates the top-level window to show

View File

@@ -21,6 +21,8 @@ namespace WaveshareUARTFingerprintSensor.Sample.Views
private void Init()
{
Modal = true;
ColorScheme = Colors.Error;
// Creates the top-level window to show

View File

@@ -29,6 +29,8 @@ namespace WaveshareUARTFingerprintSensor.Sample.Views
private void Init()
{
Modal = true;
ColorScheme = Colors.Error;
// Creates the top-level window to show