fix: alternate row color paint

This commit is contained in:
Dar
2024-10-22 18:05:14 +02:00
parent 33e37a7167
commit 25c2bbc851

View File

@@ -577,7 +577,7 @@ public class FlatTreeUI
if( alternateRowColor != null && row % 2 != 0 ) {
g.setColor( alternateRowColor );
FlatUIUtils.paintComponentBackground((Graphics2D) g, bounds.x, bounds.y, tree.getWidth(), bounds.height, 0, 0);
FlatUIUtils.paintComponentBackground((Graphics2D) g, 0, bounds.y, tree.getWidth(), bounds.height, 0, 0);
}
// do not paint row if editing