rr-ribbon-w4: red round 1 fix (lead commit)

This commit is contained in:
Martin Ball
2026-11-18 21:23:22 +00:00
parent 4a074a072f
commit be9abcbf26
+1 -10
View File
@@ -75,7 +75,7 @@ fn open_more(fixture: &mut Fixture) {
fixture.idle(2);
}
#[story(Gallery<'static, usize>, covers = [], drive = Drive::Custom(open_more))]
#[story(Gallery<'static, usize>, covers = [Open], drive = Drive::Custom(open_more))]
fn gallery_more_open(ui: &mut Ui, _: &mut StoryData) -> StoryOutput {
pictured(ui)
}
@@ -106,12 +106,3 @@ fn gallery_rendered(ui: &mut Ui, _: &mut StoryData) -> StoryOutput {
.collect();
show(ui, &items)
}
#[story(Gallery<'static, usize>, covers = [], drive = Drive::Never)]
fn gallery_rtl(ui: &mut Ui, _: &mut StoryData) -> StoryOutput {
with_env(
ui,
|set| set.direction = Some(craft_i18n::Direction::Rtl),
|ui| pictured(ui),
)
}