Improve sprite fading behaviour (#35863)
* Click through faded sprites * Count the mouse position for which sprites to fade
This commit is contained in:
committed by
GitHub
parent
ce53629f1d
commit
e9b89a1c6b
@@ -80,7 +80,7 @@ namespace Content.IntegrationTests.Tests
|
||||
|
||||
var pos = clientEntManager.System<SharedTransformSystem>().GetWorldPosition(clientEnt);
|
||||
|
||||
hit = clientEntManager.System<ClickableSystem>().CheckClick((clientEnt, null, sprite, null), new Vector2(clickPosX, clickPosY) + pos, eye, out _, out _, out _);
|
||||
hit = clientEntManager.System<ClickableSystem>().CheckClick((clientEnt, null, sprite, null), new Vector2(clickPosX, clickPosY) + pos, eye, false, out _, out _, out _);
|
||||
});
|
||||
|
||||
await server.WaitPost(() =>
|
||||
|
||||
Reference in New Issue
Block a user