Color bug fixes

This commit is contained in:
UnlegitDqrk
2026-02-08 15:57:43 +01:00
parent 61fa2d5f38
commit fd1e9129eb
8 changed files with 150 additions and 93 deletions

View File

@@ -18,7 +18,7 @@ public interface OACComponent {
// this.setBackground(design.getElements().get(this.getClass()).getColor());
}
void setBackground(Color color);
default void init() {}
default void initOther(Component comp) {
if(comp instanceof OACComponent component)