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
@@ -229,7 +229,7 @@ impl Review {
|
||||
}
|
||||
}
|
||||
|
||||
fn playback(&mut self) {
|
||||
pub(crate) fn playback(&mut self) {
|
||||
let playing = self.player.as_ref().is_some_and(Player::is_playing);
|
||||
if let Some(player) = &self.player {
|
||||
if playing {
|
||||
|
||||
Reference in new issue
Block a user