-
Notifications
You must be signed in to change notification settings - Fork 615
Closed
Description
I have updated imgui from 1.88dock to 1.89.3dock. The screen is cut, depending on the position. It seems the editor has the size of the window but its clipping is not related to the window but rather to the world space (?).
The recording should explain what's going on, notice the huge black parts around the editor:
app_Gsf0CuRIrC.mp4
What's interesting though, I've found this code in the imgui_canvas.cpp
:
// #debug: Canvas content.
//m_DrawList->AddRectFilled(m_StartPos, m_StartPos + m_CurrentSize, IM_COL32(0, 0, 0, 64));
//m_DrawList->AddRect(m_WidgetRect.Min, m_WidgetRect.Max, IM_COL32(255, 0, 255, 64));
I have uncommented the last line and it seems to fix everything (it is, remove the black parts and not crop the content):
However, it doesn't seem to be a proper fix since it is commented as debug code.
Metadata
Metadata
Assignees
Labels
No labels