kopia lustrzana https://github.com/maccasoft/z80-tools
Enabled double buffer to avoid flickering
rodzic
9fa464e590
commit
228160fb62
|
@ -107,7 +107,7 @@ public class Terminal {
|
||||||
display = parent.getDisplay();
|
display = parent.getDisplay();
|
||||||
needsUpdate = new AtomicBoolean();
|
needsUpdate = new AtomicBoolean();
|
||||||
|
|
||||||
canvas = new Canvas(parent, SWT.NONE);
|
canvas = new Canvas(parent, SWT.DOUBLE_BUFFERED);
|
||||||
canvas.setBackground(display.getSystemColor(SWT.COLOR_BLACK));
|
canvas.setBackground(display.getSystemColor(SWT.COLOR_BLACK));
|
||||||
|
|
||||||
font = new TerminalFont(8, 16);
|
font = new TerminalFont(8, 16);
|
||||||
|
|
Ładowanie…
Reference in New Issue