changed how we handle colors

This commit is contained in:
2022-03-12 21:48:09 +01:00
parent aee8c0fd3c
commit 35be02dbe2
8 changed files with 37 additions and 128 deletions

View File

@@ -150,12 +150,12 @@ class VirtualTermWriter implements TermWriteable extends TermBuffer {
return super.getTextColor();
}
public override function setTextColor(colour:Color) {
public override function setTextColor(color:Color) {
if (isEnabled()) {
target.setTextColor(colour);
target.setTextColor(color);
}
super.setTextColor(colour);
super.setTextColor(color);
}
public override function getBackgroundColor():Color {