Flags on track table header are not refreshed unless the mouse move on the header line
Closed this issue · 5 comments
vincentT commented
When scrolling horizontally in the track table, flags in the header are not refreshed unless the mouse move on the header line.
I'm on Windows, tested on master
Adding this at the end of TGTableRow init method works but probably not optimal
this.painter.addPaintListener(new UIPaintListener() {
@Override
public void onPaint(UIPaintEvent event) {
table.getColumnCanvas().getControl().redraw();
}
});
guiv42 commented
It's a bit surprising, this behavior is not reproduced in Linux environment (TuxGuitar 1.6.4, Linux openSuse tumbleweed)
guiv42 commented
That should be OK now
vincentT commented
Indeed 👍 , tested it on master
guiv42 commented
thanks for the test!
vincentT commented
Thanks for the fix !