bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] ImGUIContext processes window's sizes change incorrectly #72

Closed bnoazx005 closed 2 years ago

bnoazx005 commented 2 years ago

Bug report

ImGUIContext plugin which is based on Dear ImGUI doesn't update its internal state when an application's window is changed in sizes.

Environment

Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.5.x / NVidia GTX 860M

Steps to reproduce the issue

  1. Change the window's size
  2. Open developer's menu

What's the expected result?

Buttons in the menu should respond to mouse position when the cursor goes over them

What's the actual result?

The UI elements reacts with some offset