mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Update CompassDelegate.qml
This commit is contained in:
parent
91f9092c92
commit
05f5d203e8
@ -66,8 +66,6 @@ Window {
|
|||||||
//
|
//
|
||||||
// Updates the internal values of the compass widget
|
// Updates the internal values of the compass widget
|
||||||
//
|
//
|
||||||
//*! Optimize this function
|
|
||||||
// About 6% of the UI thread is spent here
|
|
||||||
function updateValues() {
|
function updateValues() {
|
||||||
if (Cpp_UI_WidgetProvider.compassDatasetCount() > root.datasetIndex) {
|
if (Cpp_UI_WidgetProvider.compassDatasetCount() > root.datasetIndex) {
|
||||||
root.angle = Cpp_UI_WidgetProvider.compass(root.datasetIndex)
|
root.angle = Cpp_UI_WidgetProvider.compass(root.datasetIndex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user