mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Merge #17914's reveal fix into the eyedropper ring branch
This commit is contained in:
commit
f27e28645e
1 file changed
+2
-2
@@ -94,9 +94,9 @@ pub(super) fn click(h: &mut Harness<'_, Box<PhotocraftApp>>, label: &str) {
|
||||
|
||||
/// Scrolls the open paper list until the row `label` is shown: the list draws only the rows in view, so a row is not in
|
||||
/// the access tree until the wheel has brought it into view. The list can open scrolled to its chosen row, so the wheel
|
||||
/// goes down first and then up.
|
||||
/// goes down first and then up, past where it started.
|
||||
fn reveal(h: &mut Harness<'_, Box<PhotocraftApp>>, label: &str) {
|
||||
for step in 0..80 {
|
||||
for step in 0..120 {
|
||||
if h.query_by_label(label).is_some() {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user