mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 05:11:04 -07:00
Fix injection of parameters in signals
This commit is contained in:
parent
5f71518f9d
commit
c9b9a41bb8
2 changed files with 3 additions and 3 deletions
|
|
@ -249,13 +249,13 @@ Item
|
|||
}
|
||||
property var clickPos: Qt.point(0, 0)
|
||||
property bool dragging: false
|
||||
onPressed:
|
||||
onPressed: (mouse) =>
|
||||
{
|
||||
clickPos = Qt.point(mouse.x, mouse.y);
|
||||
dragging = true
|
||||
}
|
||||
|
||||
onPositionChanged:
|
||||
onPositionChanged: (mouse) =>
|
||||
{
|
||||
if(dragging)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue