zesage / panorama

Panorama - Flutter Widget
Apache License 2.0
114 stars 71 forks source link

Orientation with sensors is not working #25

Open rlazom opened 3 years ago

rlazom commented 3 years ago

In the last version of the plugin when I configure the Panorama object with:

Panorama(
...
sensorControl: SensorControl.Orientation,
...
)

Is not moving with the mobile sensors, not even with touch.

It's only working with touch if sensorControl it's configure with the default value (SensorControl.None)

@zesage can you check this please?

laurobrizidio commented 3 years ago

It's is not working in my mobile phone too, when I disable SensorControl.Orientation, it works fine!

olenirwing commented 2 years ago

Try adding an animationSpeed: Panorama( animationSpeed: 0.1, sensorControl: SensorControl.Orientation, ... ) For me that did the trick

sametkaravaizoglu commented 2 years ago

Panorama( animationSpeed: 0.1, sensorControl: SensorControl.Orientation, ... )

works for me