Strip drag drop test (#30754)
* Add test for drag drop to open strip menu * Make screencoords change based on deadzone
This commit is contained in:
@@ -1207,11 +1207,12 @@ public abstract partial class InteractionTest
|
||||
BoundKeyFunction key,
|
||||
BoundKeyState state,
|
||||
NetCoordinates? coordinates = null,
|
||||
NetEntity? cursorEntity = null)
|
||||
NetEntity? cursorEntity = null,
|
||||
ScreenCoordinates? screenCoordinates = null)
|
||||
{
|
||||
var coords = coordinates ?? TargetCoords;
|
||||
var target = cursorEntity ?? Target ?? default;
|
||||
ScreenCoordinates screen = default;
|
||||
var screen = screenCoordinates ?? default;
|
||||
|
||||
var funcId = InputManager.NetworkBindMap.KeyFunctionID(key);
|
||||
var message = new ClientFullInputCmdMessage(CTiming.CurTick, CTiming.TickFraction, funcId)
|
||||
|
||||
Reference in New Issue
Block a user