mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
fix: alternate row color paint
This commit is contained in:
@@ -577,7 +577,7 @@ public class FlatTreeUI
|
|||||||
|
|
||||||
if( alternateRowColor != null && row % 2 != 0 ) {
|
if( alternateRowColor != null && row % 2 != 0 ) {
|
||||||
g.setColor( alternateRowColor );
|
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
|
// do not paint row if editing
|
||||||
|
|||||||
Reference in New Issue
Block a user