-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt for MCUs 2.7
-
None
The following example reproduces it, when MCU.Config.displayRotationAngle is set to 90, 180, or 270.
Rectangle {
width: 200
height: 200
MouseArea {
id: touch
anchors.fill: parent
Rectangle {
id: touchRectangle
width: 20
height: 20
radius: 10
color: "black"
visible: false
}
onPressed: {
touchRectangle.x = mouseX - touchRectangle.width / 2;
touchRectangle.y = mouseY - touchRectangle.height / 2;
touchRectangle.visible = true
}
Text {
text: "x: " + touch.mouseX + ", y: " + touch.mouseY
}
}
}