You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The combination of a cliprect and columns allows us to set a clipping space for node widgets while reserving drawable space for pins, without having to add an extra window / childframe.
557
557
ImGui::PushClipRect( curNodeData.leftPins.region.Min, curNodeData.rightPins.region.Max, true); // Inner space + Node Spaces
558
558
ImGui::BeginColumns("innerNode", 3,
559
-
ImGuiOldColumnFlags_NoBorder
560
-
| ImGuiOldColumnFlags_NoResize
559
+
ImGuiColumnsFlags_NoBorder
560
+
| ImGuiColumnsFlags_NoResize
561
561
//| ImGuiOldColumnFlags_NoPreserveWidths
562
-
| ImGuiOldColumnFlags_NoForceWithinWindow// important so there's no weird auto adjustments.
562
+
| ImGuiColumnsFlags_NoForceWithinWindow// important so there's no weird auto adjustments.
563
563
);
564
564
// Column layout
565
565
// Note: A column of 0 width will probably cause crashes
@@ -768,7 +768,7 @@ ImGuiEx::NodeConnectData ImGuiEx::NodeCanvas::AddNodePin( const int nodeID, cons
768
768
auto connectingColor = ImGui::ColorConvertU32ToFloat4(_color);
0 commit comments