Fix event propagation
Add Modal to avoid upward event propagation
This commit is contained in:
@@ -23,6 +23,8 @@ namespace WaveshareUARTFingerprintSensor.Sample.Views
|
||||
|
||||
private void Init()
|
||||
{
|
||||
Modal = true;
|
||||
|
||||
ColorScheme = Colors.TopLevel;
|
||||
|
||||
// Creates the top-level window to show
|
||||
|
||||
@@ -21,6 +21,8 @@ namespace WaveshareUARTFingerprintSensor.Sample.Views
|
||||
|
||||
private void Init()
|
||||
{
|
||||
Modal = true;
|
||||
|
||||
ColorScheme = Colors.Error;
|
||||
|
||||
// Creates the top-level window to show
|
||||
|
||||
@@ -29,6 +29,8 @@ namespace WaveshareUARTFingerprintSensor.Sample.Views
|
||||
|
||||
private void Init()
|
||||
{
|
||||
Modal = true;
|
||||
|
||||
ColorScheme = Colors.Error;
|
||||
|
||||
// Creates the top-level window to show
|
||||
|
||||
Reference in New Issue
Block a user