Platform/Window: Fix size event triggering key event on Windows

This commit is contained in:
Lynix 2018-02-15 21:08:38 +01:00
parent 5a452ba2dd
commit 39c89c52f4
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@ Nazara Engine:
- Add PhysWorld2D::[Get|Set]IterationCount to control how many iterations chipmunk will perform per step. - Add PhysWorld2D::[Get|Set]IterationCount to control how many iterations chipmunk will perform per step.
- Add PhysWorld2D::UseSpatialHash to use spatial hashing instead of bounding box trees, which may speedup simulation in some cases. - Add PhysWorld2D::UseSpatialHash to use spatial hashing instead of bounding box trees, which may speedup simulation in some cases.
- Add PhysWorld[2D|3D] max step count per Step call (default: 50), to avoid spirals of death when the physics engine simulation time is over step size. - Add PhysWorld[2D|3D] max step count per Step call (default: 50), to avoid spirals of death when the physics engine simulation time is over step size.
- Fix Window triggering KeyPressed event after triggering a resize/movement event on Windows
Nazara Development Kit: Nazara Development Kit:
- Added ImageWidget (#139) - Added ImageWidget (#139)

View File

@ -501,6 +501,7 @@ namespace Nz
event.size.height = size.y; event.size.height = size.y;
m_parent->PushEvent(event); m_parent->PushEvent(event);
} }
break;
} }
case WM_KEYDOWN: case WM_KEYDOWN: