mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 09:21:24 +08:00
refactor(editor): migrate to svgjs to simplify dom renderer
This commit is contained in:
@@ -822,7 +822,7 @@ export async function updateExistedBrushElementSize(
|
||||
) {
|
||||
// get the nth brush size button
|
||||
const btn = page.locator(
|
||||
`edgeless-line-width-panel .point-button:nth-child(${nthSizeButton})`
|
||||
`editor-toolbar edgeless-line-width-panel .point-button:nth-child(${nthSizeButton})`
|
||||
);
|
||||
|
||||
await btn.click();
|
||||
|
||||
Reference in New Issue
Block a user