Skip to content

[1/2] feat: show a clip as lifted during a long press - #333

Merged
dazzatronus merged 1 commit into
mainfrom
feat/touch-lift-look
Dec 3, 2026
Merged

dazzatronus merged 1 commit into
mainfrom
feat/touch-lift-look

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

A touch held still for 450 ms lifts a clip. Until now nothing changed on screen until the finger moved, so you couldn't tell the lift had worked. The clip now rises as it lifts: scaled 1.04, with an outline in its selection colour and a drop shadow. It drops back on release, on cancel, when a second finger lands and when the drag ends.

The rule sits under (pointer: coarse), and a mouse or pen never lifts. It shares the specificity of .ss-clip.selected and .ss-clip.dragging, so it has to stay after them in the stylesheet; a test pins that order.

Verify:

  • On the iPhone 18 Pro simulator (Safari) and the Pixel 8 emulator (Chrome), a still hold adds the lifted class after 466 and 473 ms, and the clip measures 1.04×.
  • Releasing in place leaves no edit and no raised clip.
  • In desktop Chromium, a mouse held for 900 ms never lifts.
# PR Adds Why it is separate
1/2 #333 (this PR) A lifted clip looks lifted Visual feedback only, works alone
2/2 #334 Layout tiers and the touch toolbar Tier detection that later touch layouts build on

Merge bottom-up. Retarget the 2/2 PR to main after the 1/2 lands.

@dazzatronus
dazzatronus added this pull request to stack #338 December 3, 2026 10:28
@dazzatronus
dazzatronus merged commit 122a661 into main Dec 3, 2026
1 check passed
github-actions Bot pushed a commit that referenced this pull request Dec 3, 2026
# [2.36.0](v2.35.0...v2.36.0) (2026-12-03)

### Bug Fixes

* keep the drag ghost under its clip when the timeline is scrolled ([#337](#337)) ([8157710](8157710))

### Features

* adapt the timeline toolbar to touch layouts ([#334](#334)) ([9ffcac0](9ffcac0))
* make canvas selection handles easier to hit on touch ([#335](#335)) ([0f0fcac](0f0fcac))
* pinch and twist the selected canvas clip on touch ([#336](#336)) ([e77dc9f](e77dc9f))
* show a clip as lifted during a long press ([#333](#333)) ([122a661](122a661))
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.36.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant