mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
gui: cover scale style option for background images (#14049)
This commit is contained in:
parent
7e34363954
commit
1327fe2b99
3 changed files with 26 additions and 2 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue