Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 312418 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/gef/editpolicies/ScrollableSelectionFeedbackEditPolicy.java (+5 lines)
Lines 61-66 Link Here
61
		public void figureMoved(IFigure source) {
61
		public void figureMoved(IFigure source) {
62
			// react on host figure move
62
			// react on host figure move
63
			if (getHost().getSelected() == EditPart.SELECTED_PRIMARY) {
63
			if (getHost().getSelected() == EditPart.SELECTED_PRIMARY) {
64
				// It may happen that when the event of the host figure being moved is
65
				// fired, related source or target connections have not been revalidated
66
				// as the feedback relies on valid bounds, we have to ensure
67
				// those connections are revalidated so feedback is drawn correctly.
68
				getLayer(LayerConstants.CONNECTION_LAYER).invalidateTree();
64
				updateFeedback();
69
				updateFeedback();
65
			}
70
			}
66
		}
71
		}

Return to bug 312418