@@ -274,10 +274,10 @@ void NodeUISlotPanel::Draw (NUIE::NodeUIDrawingEnvironment& env, const NUIE::Rec
274274 drawingImage.AddInputSlotConnPosition (slotId, slotRect.GetLeftCenter ());
275275 drawingImage.AddInputSlotRect (slotId, slotRect);
276276 if (skinParams.GetSlotMarker () == NUIE::SkinParams::SlotMarker::Circle) {
277- if ( uiSlot->GetConnectionDisplayMode () == NUIE::ConnectionDisplayMode::Hidden && node.IsInputSlotConnected (uiSlot->GetId ())) {
278- NUIE::Size slotMarkerHiddenConnectionSize = skinParams. GetSlotMarkerSize () + NUIE::Size ( 3.0 , 3.0 );
279- NUIE::Rect bigConnCircleRect = NUIE::Rect::FromCenterAndSize (slotRect.GetLeftCenter (), slotMarkerHiddenConnectionSize );
280- NUIE::Rect smallConnCircleRect = NUIE::Rect::FromCenterAndSize (slotRect.GetLeftCenter (), slotMarkerHiddenConnectionSize - NUIE::Size ( 5.0 , 5.0 ));
277+ bool drawHiddenConnectionMarker = uiSlot->GetConnectionDisplayMode () == NUIE::ConnectionDisplayMode::Hidden && node.IsInputSlotConnected (uiSlot->GetId ());
278+ if (drawHiddenConnectionMarker) {
279+ NUIE::Rect bigConnCircleRect = NUIE::Rect::FromCenterAndSize (slotRect.GetLeftCenter (), skinParams. GetHiddenConnectionMarkerBigSize () );
280+ NUIE::Rect smallConnCircleRect = NUIE::Rect::FromCenterAndSize (slotRect.GetLeftCenter (), skinParams. GetHiddenConnectionMarkerSmallSize ( ));
281281 drawingImage.AddItem (NUIE::DrawingItemConstPtr (new NUIE::DrawingFillEllipse (bigConnCircleRect, skinParams.GetSlotTextBackgroundColor ())), NUIE::DrawingContext::ItemPreviewMode::HideInPreview);
282282 drawingImage.AddItem (NUIE::DrawingItemConstPtr (new NUIE::DrawingEllipse (bigConnCircleRect, skinParams.GetConnectionLinePen ())), NUIE::DrawingContext::ItemPreviewMode::HideInPreview);
283283 drawingImage.AddItem (NUIE::DrawingItemConstPtr (new NUIE::DrawingEllipse (smallConnCircleRect, skinParams.GetConnectionLinePen ())), NUIE::DrawingContext::ItemPreviewMode::HideInPreview);
0 commit comments