mirror of https://github.com/zlatinb/muwire
metal and darcula are named, system can vary across platforms
parent
aef1af34a3
commit
45769cbaf3
|
@ -113,12 +113,12 @@ class OptionsModel {
|
||||||
|
|
||||||
UISettings uiSettings = application.context.get("ui-settings")
|
UISettings uiSettings = application.context.get("ui-settings")
|
||||||
showMonitor = uiSettings.showMonitor
|
showMonitor = uiSettings.showMonitor
|
||||||
if (uiSettings.lnf.equalsIgnoreCase("system"))
|
if (uiSettings.lnf.equalsIgnoreCase("metal"))
|
||||||
systemLnf = true
|
metalLnf = true
|
||||||
else if (uiSettings.lnf.equalsIgnoreCase("com.bulenkov.darcula.DarculaLaf"))
|
else if (uiSettings.lnf.equalsIgnoreCase("com.bulenkov.darcula.DarculaLaf"))
|
||||||
darculaLnf = true
|
darculaLnf = true
|
||||||
else
|
else
|
||||||
metalLnf = true
|
systemLnf = true
|
||||||
font = uiSettings.font
|
font = uiSettings.font
|
||||||
automaticFontSize = uiSettings.autoFontSize
|
automaticFontSize = uiSettings.autoFontSize
|
||||||
customFontSize = uiSettings.fontSize
|
customFontSize = uiSettings.fontSize
|
||||||
|
|
Loading…
Reference in New Issue