Integration fixes for the community batch
- Footage sources: the cancellable wrapper (#784) forwards frame_with (#752 float curves) and problem (#887); problem's default lives on the trait. - Media: a called-off decode (#784) is not a footage problem (#887). - Effect Controls rename (#953): Escape cancels (egui drops focus on Escape the same frame), the Rename item is translated; regression test. - i18n (#873): drop the /out-i18n/ ignore rule and the note about an uncommitted script. - Tests: text range selector caps (#926) re-borrow the layer; the RAM preview test (#793) sets the comp's own Resolution (#462). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ac37493026
commit
6baff9f5fe
@@ -122,9 +122,17 @@ pub fn show(app: &mut EffectcraftApp, ui: &mut egui::Ui, rect: Rect) {
|
||||
// Bottom bar: magnification and View menus.
|
||||
p.rect_filled(bar, 0.0, t.panel_bg);
|
||||
let mr = Rect::from_min_size(pos2(bar.min.x + 8.0, bar.center().y - 10.0), vec2(80.0, 20.0));
|
||||
if let Some((z, up)) =
|
||||
super::viewer_tools::magnification_menu(app, ui, mr, "layer-mag", "layerPanel.magnification", "layerMagnification", zoom as f32, app.ui.layer_zoom, false)
|
||||
{
|
||||
if let Some((z, up)) = super::viewer_tools::magnification_menu(
|
||||
app,
|
||||
ui,
|
||||
mr,
|
||||
"layer-mag",
|
||||
"layerPanel.magnification",
|
||||
"layerMagnification",
|
||||
zoom as f32,
|
||||
app.ui.layer_zoom,
|
||||
false,
|
||||
) {
|
||||
// The Layer panel keeps no fit mode: Fit up to 100% is the fit, at most 100 %.
|
||||
app.ui.layer_zoom = if up { Some(fit.min(1.0 / ui.ctx().pixels_per_point())) } else { z };
|
||||
app.ui.layer_pan = [0.0, 0.0];
|
||||
|
||||
Reference in New Issue
Block a user