Skip to content

Commit e18da61

Browse files
committed
Update to prevent CSS errors
1 parent 6e2b17a commit e18da61

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

richtextfx/src/main/java/org/fxmisc/richtext/LineNumberFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ public Node apply(int idx) {
113113
if ( isFoldedCheck != null )
114114
{
115115
Label foldIndicator = new Label( " " );
116+
foldIndicator.setTextFill( DEFAULT_TEXT_FILL ); // Prevents CSS errors
117+
116118
lineNo.setContentDisplay( ContentDisplay.RIGHT );
117119
lineNo.setGraphic( foldIndicator );
118120

0 commit comments

Comments
 (0)