File tree Expand file tree Collapse file tree
src/main/java/org/markdownwriterfx/editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333import java .util .IdentityHashMap ;
3434import java .util .List ;
3535import java .util .function .IntFunction ;
36- import javafx .collections .ObservableList ;
3736import javafx .geometry .HPos ;
3837import javafx .geometry .Insets ;
3938import javafx .geometry .Rectangle2D ;
@@ -140,15 +139,6 @@ private class ParagraphGraphic
140139 setNeedsLayout (true );
141140 });
142141 }
143-
144- // make this node is the first child so that its nodes are rendered
145- // 'under' the paragraph text
146- if (newParent != null && newParent .getChildrenUnmodifiable ().get (0 ) != this ) {
147- @ SuppressWarnings ("unchecked" )
148- ObservableList <Node > children = (ObservableList <Node >) invoke (mGetChildren , newParent );
149- children .remove (this );
150- children .add (0 , this );
151- }
152142 });
153143 }
154144
You can’t perform that action at this time.
0 commit comments