I make simple immediate mode gui for myself and I don't know how to make right scrolling for window content. I
tried to use two 2 ways. First I add scrolling delta to window content. Second I try to use simple formula (scroll y / scroll height) * window content size. But I get the same probleem when I move mouse to fast I get window content
in wrong place when I move slowe I get right result. I watched in Dear ImGUI library but it is hard for me to understand for what code do.