Smooth compass and strengthen map selection
This commit is contained in:
1 parent
8a8fc1dfe4
commit
a0e24fc925
5 files changed
+96
-10
No files matched your search
@@ -681,7 +681,7 @@
|
||||
<label>
|
||||
Orientamento bussola
|
||||
<select @bind="CompassMode" @bind:after="ApplyCompassOptions" disabled="@(!ShowCompass)">
|
||||
<option value="fixed">Mappa: nord fisso in alto</option>
|
||||
<option value="fixed">Mappa: nord fisso in alto (predefinito)</option>
|
||||
<option value="heading">Navigatore: direzione del dispositivo in alto</option>
|
||||
</select>
|
||||
</label>
|
||||
@@ -2871,7 +2871,7 @@
|
||||
{
|
||||
compass.ReadingChanged += OnCompassReadingChanged;
|
||||
CompassSensorSubscribed = true;
|
||||
compass.Start(Microsoft.Maui.Devices.Sensors.SensorSpeed.UI);
|
||||
compass.Start(Microsoft.Maui.Devices.Sensors.SensorSpeed.Game, applyLowPassFilter: true);
|
||||
}
|
||||
else if (!shouldMonitor && CompassSensorSubscribed)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user