summaryrefslogtreecommitdiffstats
path: root/qml/MainForm.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/MainForm.ui.qml')
-rw-r--r--qml/MainForm.ui.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/qml/MainForm.ui.qml b/qml/MainForm.ui.qml
index 19cc165..981a38f 100644
--- a/qml/MainForm.ui.qml
+++ b/qml/MainForm.ui.qml
@@ -19,6 +19,14 @@ MMScene {
color: "lightgrey"
}
+ MouseArea{
+ id: mouseArea
+ anchors.fill: parent
+ onPressed: {
+ //console.log("Scene clicked at X: " + mouse.x + " y" + mouse.y)
+ mousePressed(mouse.x, mouse.y);
+ }
+ }
RowLayout {