diff --git a/Toolset/libraries/revidelibrary.8.livecodescript b/Toolset/libraries/revidelibrary.8.livecodescript index ba9ffaf685..e191a02084 100644 --- a/Toolset/libraries/revidelibrary.8.livecodescript +++ b/Toolset/libraries/revidelibrary.8.livecodescript @@ -3389,7 +3389,11 @@ on revIDECreateObject pObjectTypeID, pTarget, pLoc if sClassicObjectProperties is empty then __objectPropertiesRead # Set the default stack to the target we're creating the object on set the defaultstack to revIDEStackOfObject(pTarget) - + + if pLoc is empty then + put the loc of this card of the defaultStack into pLoc + end if + # Create the object lock screen lock messages diff --git a/Toolset/palettes/tutorial/revtutorial.livecodescript b/Toolset/palettes/tutorial/revtutorial.livecodescript index 878f0fda70..bcc99b0f83 100644 --- a/Toolset/palettes/tutorial/revtutorial.livecodescript +++ b/Toolset/palettes/tutorial/revtutorial.livecodescript @@ -3757,7 +3757,7 @@ on revTutorialCreateAndCaptureObjects pWaitData, pCaptureData, pHighlightData else if pHighlightData["tool"] is not empty then dispatch function "toolObjectName" to stack "revTools" with pHighlightData["tool"] - revIDECreateObject the result, sTaggedObjects["stack"][tCapture["target stack"]["tag"]], "0,0" + revIDECreateObject the result, sTaggedObjects["stack"][tCapture["target stack"]["tag"]] put the result into sTaggedObjects[tType][tCapture["tag"]] else if pHighlightData["item"][1] contains "Import" then # Deal with 'import' diff --git a/notes/bugfix-20039.md b/notes/bugfix-20039.md new file mode 100644 index 0000000000..38811d0970 --- /dev/null +++ b/notes/bugfix-20039.md @@ -0,0 +1 @@ +# Position tutorial controls in better location when using 'Do It For Me'