Update CompassDelegate.qml

This commit is contained in:
Alex Spataru 2021-03-12 12:43:25 -05:00 committed by GitHub
parent 91f9092c92
commit 05f5d203e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,8 +66,6 @@ Window {
//
// Updates the internal values of the compass widget
//
//*! Optimize this function
// About 6% of the UI thread is spent here
function updateValues() {
if (Cpp_UI_WidgetProvider.compassDatasetCount() > root.datasetIndex) {
root.angle = Cpp_UI_WidgetProvider.compass(root.datasetIndex)