gui: cover scale style option for background images (#14049)

This commit is contained in:
Tuomas-Matti Soikkeli 2025-11-08 21:59:45 +02:00 committed by GitHub
parent 7e34363954
commit 1327fe2b99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 2 deletions

View file

@ -82,7 +82,7 @@ public class ThemePluginImpl implements ThemePlugin {
}
if (ui.containsKey("gamePanel") && ui.containsKey("jLayeredPane")) {
ImagePanel bgPanel = new ImagePanel(backgroundImage, ImagePanelStyle.TILED);
ImagePanel bgPanel = new ImagePanel(backgroundImage, ImagePanelStyle.COVER);
// TODO: research - is all components used? And why it make transparent?
unsetOpaque(ui.get("splitChatAndLogs"));