app: keep a paused clip's layer picture on the pixels it played on

The vendored rune's layer rounded its size and sat at it 1:1, while the
window draws a paused clip itself at the exact fractional rect: pausing
moved the picture by up to a pixel. The layer's visual now sits at that
rect and stretches its buffer onto it (SetTransform2), and the vendored
rune takes windows-numerics for the matrix.

Also snapshot hooks: LR_DEMO_PLAY starts the demo clip and
LR_DEMO_PAUSE_AT pauses it once the clock passes a time.
This commit is contained in:
vhaudiquet committed 2026-11-23 18:11:02 +01:00
1 parent 5cbf284841
commit f3e44a2132
8 files changed
+57 -13

No files matched your search

Generated Vendored
+1
View File
@@ -3855,6 +3855,7 @@ dependencies = [
"wgpu",
"windows",
"windows-core",
"windows-numerics",
"windows-sys 0.61.2",
"winit",
"x11rb",