Make action bar draggable (#1035)

* Basic draggable

* Nowrap

* Prevent double reset

* Persist position

* nit

* nit

* Window resize adjustment

* Fix playwright test
This commit is contained in:
Chenlei Hu
2024-09-28 11:21:38 +09:00
committed by GitHub
parent 8d7693e5ad
commit 9d110d39b2
2 changed files with 91 additions and 12 deletions

View File

@@ -640,9 +640,10 @@ export class ComfyPage {
y: 645
}
})
await page.locator('input[type="text"]').click()
await page.locator('input[type="text"]').fill('128')
await page.locator('input[type="text"]').press('Enter')
const dialogInput = page.locator('.graphdialog input[type="text"]')
await dialogInput.click()
await dialogInput.fill('128')
await dialogInput.press('Enter')
await this.nextFrame()
}