helge17/tuxguitar

Flags on track table header are not refreshed unless the mouse move on the header line

Closed this issue · 5 comments

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();
	}
});

It's a bit surprising, this behavior is not reproduced in Linux environment (TuxGuitar 1.6.4, Linux openSuse tumbleweed)

That should be OK now

Indeed 👍 , tested it on master

thanks for the test!

Thanks for the fix !