Closed Sarah-C closed 1 year ago
thanks for your reminder.Please submit a pull request and I'll merge this.
Checked in here: https://github.com/Sarah-C/T-QT/commit/2980144b879a394d9c9399973fc774039b7895f6
Micky513673326 has been nice enough to submit the pull request. Thank you!
Issue closed.
Closed!
If you're finding the hour hand in the factory demo to be a bit wonky... here's the fix.
The hour hand doesn't increment in fractions, so if it's 5 to 3, it looks almost like 5 to 2 because the hour hand hasn't moved on!
The fix shows the hour hand correctly positioned between two numbers for half past the hour:
The fix adds on the angle of the minutes scaled to 1/12 of a circle to the angle of the hour hand... which is simply multiplying the minutes by 5.
lvgl_gui.cpp