clean up
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import QtQuick
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
drag.target: null // Not using built-in drag behavior
|
||||
|
||||
onPositionChanged: {
|
||||
if (mouse.buttons & Qt.LeftButton) {
|
||||
petMarch.mleft = mouse.x
|
||||
petMarch.mbottom = mouse.y
|
||||
console.log("mleft:", petMarch.mleft, "mbottom:", petMarch.mbottom)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user