Restore original clip handle colors

This commit is contained in:
webadderall
2026-09-19 18:31:48 +10:00
parent af5cd85fb7
commit 07d06ab727
2 changed files with 4 additions and 7 deletions
@@ -327,10 +327,7 @@
content: none;
}
/* Clip handles remain legible over both light and dark source frames. */
.zoomEndCap.clipHandle,
:global(:root:not(.dark)) .zoomEndCap.clipHandle {
/* Keep clip handles visible using the original theme-aware handle colors. */
.zoomEndCap.clipHandle {
opacity: 1;
background: white;
box-shadow: 0 0 2px rgb(0 0 0 / 45%);
}
+2 -2
View File
@@ -40,7 +40,7 @@ test("editor uses skeletons until media opens", async ({ page }) => {
await expect(page.locator('[data-variant="clip"]')).toBeVisible();
});
test("filmstrips have white handles, conditional speed badges and centered navigation", async ({
test("filmstrips have persistent handles, conditional speed badges and centered navigation", async ({
page,
}) => {
test.setTimeout(90000);
@@ -54,7 +54,7 @@ test("filmstrips have white handles, conditional speed badges and centered navig
await expect(clip.getByTitle(`Resize ${side}`)).toHaveCSS("opacity", "1");
await expect(clip.getByTitle(`Resize ${side}`)).toHaveCSS(
"background-color",
"rgb(255, 255, 255)",
"rgba(0, 0, 0, 0.5)",
);
}
await page.getByRole("button", { name: "Add Zoom (Z)", exact: true }).click();