I will provide one if you think it is necessary for this case.
#Why is my scroll wheel zooming how to#
I feel like I'm probably missing something but for the life of me I can't see how to solve this without writing my own scroll functionality. my friend has sims4 (with OR and GTW) and was playing it fine up until 2 weeks ago. I tried caching scroll_normalized until the next frame and calling SetScroll after the call to Begin("flame") where contentSize is refreshed, and that seems to work decently but then obviously a frame gets rendered with the new content and an old scroll value first and that looks jittery.
#Why is my scroll wheel zooming code#
So with this code nothing really happens because content size has not yet been updated to take into account the new size of the graph bars, so I'm essentially just doing SetScroll(GetScroll()).
ImGui::SetScrollX(scroll_normalized * ImGui::MaxScroll()) // MaxScroll is still based on old content size if zoom changed, buttons and spacing will be different than before I just got this laptop (new) and installed DRAW, and ZOOM scroll has never worked, so it's nothing that I broke by changing settings. Control Panel/Mouse/Device Settings tab, click on the touchpad listing, then on the Settings button. Your solutions are limited to either disabling the function, disabling the touchpad, or resting the base of your thumb elsewhere. This started happening about a month or two ago. Why does my touchpad keep zooming Your touchpad likely has a scroll function. This could be game breaking, but in order to zoom after the bug starts it then requires you to hold ctrl as well. A more 3D cad approach would not only make my life easier but it would make the experience of switching between CAD and SimScale more intuitive. If you press ctrl + scroll wheel, the normal behavior will break by rotating the camera instead of zooming. ImGui::InvisibleButton(event.space_until_next) in Win 8.1 without my problem DRAW is running at the default settings, as is Win 8.1, save for the Start Menu that I installed. Normal behavior with scroll wheel will zoom in and out. Scroll_normalized = ImGui::GetScrollX()/ImGui::MaxScroll() // based on old content size ImGui::BeginChild("FlameGraph", ImVec2(0, 0), true, ImGuiWindowFlags_HorizontalScrollbar)