Skip to content

Commit 5a7fea7

Browse files
committed
Canvas: Disable pink debug outline around widget (thedmd#150)
1 parent d79ebde commit 5a7fea7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/CHANGELOG.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,10 @@ v0.9.1 (WIP):
157157
BUGFIX: Editor: Make off-screen dragging work again
158158

159159
BUGFIX: ImGui: Disable obsolete functions (#103)
160-
160+
161161
BUGFIX: Editor: Allow nodes with zero size (#134)
162-
162+
163163
BUGFIX: Canvas: Update call ImGui::IsClippedEx() on ImGui > 18415 (#138)
164164

165+
BUGFIX: Canvas: Disable pink debug outline around widget (#150)
166+

imgui_canvas.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ bool ImGuiEx::Canvas::Begin(ImGuiID id, const ImVec2& size)
115115

116116
// #debug: Canvas content.
117117
//m_DrawList->AddRectFilled(m_StartPos, m_StartPos + m_CurrentSize, IM_COL32(0, 0, 0, 64));
118-
m_DrawList->AddRect(m_WidgetRect.Min, m_WidgetRect.Max, IM_COL32(255, 0, 255, 64));
118+
//m_DrawList->AddRect(m_WidgetRect.Min, m_WidgetRect.Max, IM_COL32(255, 0, 255, 64));
119119

120120
ImGui::SetCursorScreenPos(ImVec2(0.0f, 0.0f));
121121

0 commit comments

Comments
 (0)