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:
1 parent
5cbf284841
commit
f3e44a2132
8 files changed
+57
-13
No files matched your search
Vendored
+1
@@ -214,6 +214,7 @@ web-sys = "0.3"
|
||||
wgpu = { version = "~30.0.1", default-features = false }
|
||||
wgpu-naga-bridge = "~30.0.1"
|
||||
windows = "0.62"
|
||||
windows-numerics = "0.3"
|
||||
windows-core = "0.62"
|
||||
windows-sys = "0.61"
|
||||
winit = { version = "0.30.13", default-features = false }
|
||||
|
||||
Reference in new issue
Block a user