Ticket #125 (new defect)
Opened 20 months ago
Tutorials should inputService.setWindowSize() for correct mouseevents
| Reported by: | mtsr | Owned by: | sgtflame |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Input | Version: | 0.4.0 |
| Keywords: | Cc: |
Description
The tutorials that use the mouse fail to do
m_base.getInputService().setWindowSize(m_base.getRenderingCanvas().getWidth(), m_base.getRenderingCanvas().getHeight());
Without this mouseevents will only have correct mousepositions for the first 50x50 pixels of your window, the rest will be clamped to 50.
Note: See
TracTickets for help on using
tickets.
