Skip to content
Snippets Groups Projects
Commit f50329c1 authored by Don Gagne's avatar Don Gagne
Browse files

New QGCCanvas control to fix redraw bug

parent d7a47fad
No related branches found
No related tags found
No related merge requests found
import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2
import QGroundControl.Palette 1.0
import QGroundControl.ScreenTools 1.0
/// Canvas has some sort of bug in it which can cause it to not paint when top level Views
/// are switched. In order to fix this we ahve a signal hacked into ScreenTools to force
/// a repaint.
Canvas {
Connections {
target: ScreenTools
onRepaintRequested: arrowCanvas.requestPaint()
}
}
...@@ -9,6 +9,7 @@ QGCComboBox 1.0 QGCComboBox.qml ...@@ -9,6 +9,7 @@ QGCComboBox 1.0 QGCComboBox.qml
QGCColoredImage 1.0 QGCColoredImage.qml QGCColoredImage 1.0 QGCColoredImage.qml
QGCToolBarButton 1.0 QGCToolBarButton.qml QGCToolBarButton 1.0 QGCToolBarButton.qml
QGCMovableItem 1.0 QGCMovableItem.qml QGCMovableItem 1.0 QGCMovableItem.qml
QGCCanvas 1.0 QGCCanvas.qml
SubMenuButton 1.0 SubMenuButton.qml SubMenuButton 1.0 SubMenuButton.qml
IndicatorButton 1.0 IndicatorButton.qml IndicatorButton 1.0 IndicatorButton.qml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment