mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-23 17:28:38 +08:00
[PyScreeze] Fix locateCenterOnScreen optional arguments (#13852)
This commit is contained in:
@@ -127,7 +127,7 @@ def locateAllOnScreen(
|
||||
def locateCenterOnScreen(
|
||||
image: str | Image.Image | _MatLike,
|
||||
*,
|
||||
minSearchTime: float,
|
||||
minSearchTime: float = 0,
|
||||
grayscale: bool | None = None,
|
||||
limit: Unused = 1,
|
||||
region: tuple[int, int, int, int] | None = None,
|
||||
@@ -140,7 +140,7 @@ def locateCenterOnScreen(
|
||||
def locateCenterOnScreen(
|
||||
image: str | Image.Image,
|
||||
*,
|
||||
minSearchTime: float,
|
||||
minSearchTime: float = 0,
|
||||
grayscale: bool | None = None,
|
||||
limit: Unused = 1,
|
||||
region: tuple[int, int, int, int] | None = None,
|
||||
|
||||
Reference in New Issue
Block a user