Repository navigation
LRC-LIB-PREVIEWS: background preparation builds previews at Build Standard-Sized Previews' size (#3947) #4096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
9b88f71
cd0ae35
08e5218
430443a
453d8b1
4fe79e5
d94b2eb
9d27df5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -584,6 +584,8 @@ impl LightcraftApp { | |
| let loupe = self.ui.fullscreen || self.ui.view == state::ViewMode::Detail; | ||
| let at = if loupe { self.session.active() } else { None }; | ||
| let backward = self.look_ahead.backward(); | ||
| // the background build makes previews at Build Standard-Sized Previews' size (#3947) | ||
| self.session.prep.edge = self.ui.settings.standard_build_edge(self.session.loupe_edge) as usize; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2. Refresh preparation when the requested preview size changes. The setting updates
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 430443a: the started build is now remembered with the size it builds at, so a new size in the same view stops a running build and prepares the view again at that size. A stop from its row is still remembered by view alone, so it holds whatever size comes next. |
||
| self.session.prep_tick(mode, at, backward); | ||
| if self.session.preview_build.as_ref().is_some_and(|b| b.running()) { | ||
| ctx.request_repaint_after(std::time::Duration::from_millis(500)); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.