this is my first post :D
I have a stragne behavior with drawArc.
It is very simple: In the function onUpdate() i would like to draw a arc.
But this is only possible above the call to get infos from ActivityMonitor???
Especially to set the "degreeStart". 270 dergee must be on position 6 o´clock.
All given degreeStart numbers are always somewhere between 7 and 9 o`clock.
(for sure on top of my code is "using Toybox.ActivityMonitor as ActMonitor;" defined)
Wrong working code:
var actsteps;
var stepGoal;
stepGoal = ActMonitor.getInfo().stepGoal;
actsteps = ActMonitor.getInfo().steps;
dc.drawArc(width / 2, height / 2, 70, 0, 270, 90);
works fine! Here is 270 deree at the 6 o`clock position.
var actsteps;
var stepGoal;
dc.drawArc(width / 2, height / 2, 70, 0, 270, 90);
stepGoal = ActMonitor.getInfo().stepGoal;
actsteps = ActMonitor.getInfo().steps;
This code is also reproducible in the "Analog" sample.
Is this a bug or a feature?