IR.EVENT_ORIENTATION firing twice
Hi
I am running into issues as the listener for IR.EVENT_ORIENTATION fires twice very time the device is turned.
Can this please be stopped so the event fires once per turn.
IR.AddListener(IR.EVENT_ORIENTATION,0,function(){ IR.Log("EVENT_ORIENTATION System.Orientation: " + IR.GetVariable("System.Orientation"))});
Eg, in Windows, F5 Rotates the app and this is the logging from the above listener
[11-11-2015 11:45:43.518] INFO EVENT_ORIENTATION System.Orientation: 0
[11-11-2015 11:45:43.534] DEBUG Loading is complete
[11-11-2015 11:45:51.081] INFO EVENT_ORIENTATION System.Orientation: 1
[11-11-2015 11:45:51.097] DEBUG CIridiumCore::ChangeOrientation(1)
[11-11-2015 11:45:51.112] INFO EVENT_ORIENTATION System.Orientation: 1
[11-11-2015 11:45:52.144] INFO EVENT_ORIENTATION System.Orientation: 4
[11-11-2015 11:45:52.159] DEBUG CIridiumCore::ChangeOrientation(4)
[11-11-2015 11:45:52.175] INFO EVENT_ORIENTATION System.Orientation: 4
[11-11-2015 11:45:52.909] INFO EVENT_ORIENTATION System.Orientation: 2
[11-11-2015 11:45:52.925] DEBUG CIridiumCore::ChangeOrientation(2)
[11-11-2015 11:45:52.941] INFO EVENT_ORIENTATION System.Orientation: 2
[11-11-2015 11:45:53.613] INFO EVENT_ORIENTATION System.Orientation: 3
[11-11-2015 11:45:53.628] DEBUG CIridiumCore::ChangeOrientation(3)
[11-11-2015 11:45:53.644] INFO EVENT_ORIENTATION System.Orientation: 3
[11-11-2015 11:45:54.238] INFO EVENT_ORIENTATION System.Orientation: 1
[11-11-2015 11:45:54.253] DEBUG CIridiumCore::ChangeOrientation(1)
[11-11-2015 11:45:54.269] INFO EVENT_ORIENTATION System.Orientation: 1
[11-11-2015 11:45:54.675] INFO EVENT_ORIENTATION System.Orientation: 4
[11-11-2015 11:45:54.691] DEBUG CIridiumCore::ChangeOrientation(4)
[11-11-2015 11:45:54.706] INFO EVENT_ORIENTATION System.Orientation: 4
thanks very much
Сервис поддержки клиентов работает на платформе UserEcho
Hello Jackie
It has been implemented from i3 Pro 1.0.5