Fix tests and two behaviours after the community batch
- Renderer: no cover step for adjustment layers (#686); their buffer is the comp below. Restores a single CPU step in split adjustment stacks. - Effect Controls rename (#953): focus the name field the frame it exists. Focusing an id not yet drawn left AccessKit with a focus outside its tree (a panic in the consumer). The tests double-click at 60 fps, within egui's double-click time. - i18n: Russian, French and German entries for Copy Frame to Clipboard and the extrusion Front/Bevel/Side/Back Color submenus added by today's other PRs. - Tests: "fr" is now a valid language; the marker dialog's comment is focused on open (#922), so Enter-is-OK is tested with the focus elsewhere; the toolbar gradient tests give the selected layer its paint kind, since the toolbar mirrors it (#732). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bbc3a231c7
commit
61aaf83612
@@ -1122,8 +1122,10 @@ impl<'a> Renderer<'a> {
|
||||
// #659: an authored layer's buffer spans only its painted content while the stack works
|
||||
// on the layer's whole region (`layer_size`): give the buffer the room a sized source
|
||||
// already has, so tiling or displacement can place pixels outside the content instead
|
||||
// of losing them at its edge. Only when something will actually run.
|
||||
if fx.groups().any(|g| g.enabled && matches!(&g.kind, GroupKind::Effect { effect } if effectcraft_effects::find(effect).is_some_and(|s| !effectcraft_effects::audio_fx::is_audio_effect(s.id)))) {
|
||||
// of losing them at its edge. Only when something will actually run, and not for an
|
||||
// adjustment layer, whose buffer is the comp below and already spans it.
|
||||
if !adjustment
|
||||
&& fx.groups().any(|g| g.enabled && matches!(&g.kind, GroupKind::Effect { effect } if effectcraft_effects::find(effect).is_some_and(|s| !effectcraft_effects::audio_fx::is_audio_effect(s.id)))) {
|
||||
target.cover(layer_size);
|
||||
}
|
||||
let mut mask_shapes = masks::shapes(ctx, layer);
|
||||
|
||||
Reference in New Issue
Block a user