Fixed scrolling offset when using SetScrollY(), SetScrollFromPosY(), SetScrollHere() with menu bar.
Tests:
a) add SetScrollY(+20) after Begin("ImGui Demo") test with/without title/menu.
b) add ImGuiWindowFlags_MenuBar in BeginChild() in scrolling tracking demo.
1 parent 4961b2e commit e2159057658329eb71bf32e3366d1bf4ca1d3545
@ocornut ocornut authored on 16 Jul 2016
Showing 1 changed file
View
imgui.cpp