Skip to content

Commit 53d8ab7

Browse files
committed
fix(measure): hide prompt during measurement
Hide the current prompt before starting measurement so it doesn't interfere with the screen measurement overlay.
1 parent 596d110 commit 53d8ab7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/target/app.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3580,6 +3580,9 @@ global.measure = async (options = {}) => {
35803580
const mergedOptions = { ...defaultOptions, ...options }
35813581

35823582
try {
3583+
// Hide the current prompt so it doesn't interfere with measurement
3584+
await global.hide()
3585+
35833586
// Use a long timeout (5 minutes) since measurement requires user interaction
35843587
// The default 1 second timeout was causing the measurement to fail
35853588
const FIVE_MINUTES = 5 * 60 * 1000

0 commit comments

Comments
 (0)