fix(TouchPanel): Don't sleep if DelayMs is 0
This commit is contained in:
parent
84291635db
commit
7d67ab0055
@ -42,8 +42,12 @@ class patch_NewTouchPanel : NewTouchPanel
|
||||
|
||||
private extern void orig_Recv();
|
||||
private void Recv()
|
||||
{
|
||||
if (_touchPanelDelayMsec > 0)
|
||||
{
|
||||
Thread.Sleep(_touchPanelDelayMsec);
|
||||
}
|
||||
|
||||
orig_Recv();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user