Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 421f27c

Browse files
Merge pull request #1930 from livecode/bugfix-extension_test_rects
[[ ExtensionBuilder ]] Ensure rect preservation still works
2 parents 4fb8364 + 137d926 commit 421f27c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Toolset/libraries/revidedeveloperextensionlibrary.livecodescript

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ command revIDEDeveloperExtensionTest pPath
329329
__LaunchTestExtension pPath, tDetailsA
330330
end revIDEDeveloperExtensionTest
331331

332+
local sRectsA
332333
private function __testStackRects
333334
local tDataA
334335
if there is a stack "LiveCode Extension Test Window" then
@@ -361,10 +362,7 @@ private function __testStackScript
361362
end __testStackScript
362363

363364
private command __revIDEDeveloperExtensionLaunchTestStack pPath, pDetailsA
364-
local tRectsA
365-
put __testStackRects() into tRectsA
366-
367-
revIDEDeveloperExtensionCreateTestStack pPath, tRectsA, pDetailsA
365+
revIDEDeveloperExtensionCreateTestStack pPath, sRectsA, pDetailsA
368366
end __revIDEDeveloperExtensionLaunchTestStack
369367

370368
on revIDEDeveloperExtensionClearTestStack
@@ -423,6 +421,7 @@ end __LaunchTestExtension
423421

424422
private command __ClearTestExtension
425423
if there is a stack "LiveCode Extension Test Window" then
424+
put __testStackRects() into sRectsA
426425
__revIDEDeveloperExtensionDoClearTestStack
427426
else
428427
__UnloadTestExtension

0 commit comments

Comments
 (0)