mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-03 12:16:47 +00:00
fix: display the focus at least 500ms
This commit is contained in:
parent
8ef497772a
commit
2b3ee4fbb3
1 changed files with 3 additions and 0 deletions
|
|
@ -207,6 +207,9 @@ class MainCameraController {
|
|||
Log.error(e);
|
||||
}
|
||||
|
||||
// display the focus point at least 500ms
|
||||
await Future.delayed(const Duration(milliseconds: 500));
|
||||
|
||||
focusPointOffset = null;
|
||||
setState();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue