Skip to content

Commit bef3370

Browse files
authored
style
1 parent 81eedc5 commit bef3370

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/one_dragon/base/controller/pc_controller_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ class PcControllerBase(ControllerBase):
3737
MOUSEEVENTF_LEFTUP = 0x0004
3838

3939
# 按下鼠标后到开始拖动前的等待时间 (用于稳定按压)
40-
SLEEP_BEFORE_DRAG_START:float = 0.3
40+
SLEEP_BEFORE_DRAG_START: float = 0.3
4141
# 拖动后的等待时间 (用于消除拖动惯性)
42-
SLEEP_BEFORE_DRAG_END:float = 0.2
42+
SLEEP_BEFORE_DRAG_END: float = 0.2
4343
# (DRAG_MIN_DURATION + SLEEP_BEFORE_DRAG_START + SLEEP_BEFORE_DRAG_END) 为整个拖动过程的最小时间
44-
DRAG_MIN_DURATION:float = 0.1
44+
DRAG_MIN_DURATION: float = 0.1
4545

4646
def __init__(self,
4747
screenshot_method: str,

0 commit comments

Comments
 (0)