From 17466fe95939a923a3be3f6f8b92ea304c014436 Mon Sep 17 00:00:00 2001 From: FachepHan Date: Fri, 24 Mar 2023 12:42:05 +0800 Subject: [PATCH] rollback 3dd683f6768bcfa2d415be84cf793f8b499632ff --- src/scanner/yas_scanner.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scanner/yas_scanner.rs b/src/scanner/yas_scanner.rs index 95bffb1a..4486bda2 100644 --- a/src/scanner/yas_scanner.rs +++ b/src/scanner/yas_scanner.rs @@ -243,6 +243,7 @@ impl YasScanner { self.enigo.mouse_move_to(left as i32, top as i32); } + /* pub fn panel_down(&mut self) { let info = &self.info; let max_scroll = 20; @@ -270,6 +271,7 @@ impl YasScanner { count += 1; } } + */ fn sample_initial_color(&mut self) { self.initial_color = self.get_flag_color(); @@ -569,7 +571,7 @@ impl YasScanner { } pub fn start(&mut self) -> Vec { - self.panel_down(); + //self.panel_down(); if self.config.capture_only { self.start_capture_only(); return Vec::new();