[PR #877] [MERGED] Preview Playback: Ensure that latest frame will be shown if "drops frames behind" is enabled #1241

Closed
opened 2026-02-26 09:34:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NickeManarin/ScreenToGif/pull/877
Author: @mabakay
Created: 5/3/2021
Status: Merged
Merged: 5/8/2021
Merged by: @NickeManarin

Base: bugfix/877-Ensure-latest-frame-displayHead: work/playback/displayLastFrame


📝 Commits (1)

  • cb64ed1 Ensure that latest frame will be shown if drops frames behind is enabled

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 ScreenToGif/Windows/Editor.xaml.cs (+4 -0)

📄 Description

It is small continuation of previous pull request #810 which added support for dropping frames while preview play. It introduces consistency in preview play behavior.

When "Loop during playback" option is unchecked then play display every frame from currently selected up to last frame. But if "Drop frames when necessary" is also check then last frame will not always be selected and shown on end of preview play. This fix resolves this situation introducing consistency in behavior and ensuring that last frame is always shown when play ends.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NickeManarin/ScreenToGif/pull/877 **Author:** [@mabakay](https://github.com/mabakay) **Created:** 5/3/2021 **Status:** ✅ Merged **Merged:** 5/8/2021 **Merged by:** [@NickeManarin](https://github.com/NickeManarin) **Base:** `bugfix/877-Ensure-latest-frame-display` ← **Head:** `work/playback/displayLastFrame` --- ### 📝 Commits (1) - [`cb64ed1`](https://github.com/NickeManarin/ScreenToGif/commit/cb64ed1e917983515af0692290cfce3e33cc39a6) Ensure that latest frame will be shown if drops frames behind is enabled ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `ScreenToGif/Windows/Editor.xaml.cs` (+4 -0) </details> ### 📄 Description It is small continuation of previous pull request #810 which added support for dropping frames while preview play. It introduces consistency in preview play behavior. When "Loop during playback" option is unchecked then play display every frame from currently selected up to last frame. But if "Drop frames when necessary" is also check then last frame will not always be selected and shown on end of preview play. This fix resolves this situation introducing consistency in behavior and ensuring that last frame is always shown when play ends. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 09:34:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1241
No description provided.