Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Engine Events Dispatched before engine hover is updated #422

Open
AlexvZyl opened this issue Jun 23, 2022 · 0 comments
Open

Engine Events Dispatched before engine hover is updated #422

AlexvZyl opened this issue Jun 23, 2022 · 0 comments
Assignees
Labels
Application Issues regarding the application in general. Bug Something isn't working or is broken.

Comments

@AlexvZyl
Copy link
Owner

The logic for if the engine is hovered is only updated when GraphicsScene is being rendered. This causes the engine to sometimes try and read pixels outside of the texture, since it thinks it is still being hovered.

Temporary fix is to check if the mouse cursor left the engine in onUpdate().

@AlexvZyl AlexvZyl added Bug Something isn't working or is broken. Application Issues regarding the application in general. labels Jun 23, 2022
@AlexvZyl AlexvZyl self-assigned this Jun 23, 2022
@AlexvZyl AlexvZyl changed the title Engine Events Dispatched before m_isHoevered is updated Engine Events Dispatched before engine hover is updated Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Application Issues regarding the application in general. Bug Something isn't working or is broken.
Projects
None yet
Development

No branches or pull requests

1 participant