magefree / magefree/mage

GUI: research and remove hacks with black background and transparent panels

Open
#12,925 0 comments 0 reactions 1 assignee Claimed by @JayDi85 View on GitHub
GUI refactoring
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

From https://github.com/magefree/mage/issues/12857#issuecomment-2380838655 (look for related issues and bug examples).

Looks like black background and global transparent panel hack used in some components from old days, maybe no needs in it now.
![shot_240928_211401](https://github.com/user-attachments/assets/cbdd8796-5a80-4050-a67f-78c1a7c2a145)

Search code by `setBackground(new Color(0, 0, 0` and `setExtBackgroundColor`:
![shot_240928_212820](https://github.com/user-attachments/assets/49df6506-bc5c-423b-aa9e-778234bc6df1)

Must be tested in deck editor and game with active target/attack arrows with both java 8 and java 21 versions. Good result: colored and transparent backgrounds in card popup, chats, card panels, etc. Also must support main and battlefield background images (some themes use it).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.