This commit is contained in:
@@ -112,7 +112,7 @@ public final class Config implements Cloneable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEnableShadow() {
|
public boolean isEnableShadow() {
|
||||||
return enableShadow;
|
return enableShadow && OS.os() == OS.WINDOWS;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEnableShadow(boolean enableShadow) {
|
public void setEnableShadow(boolean enableShadow) {
|
||||||
@@ -225,7 +225,9 @@ public final class Config implements Cloneable {
|
|||||||
public Config() {
|
public Config() {
|
||||||
clientToken = UUID.randomUUID().toString();
|
clientToken = UUID.randomUUID().toString();
|
||||||
logintype = downloadtype = 0;
|
logintype = downloadtype = 0;
|
||||||
enableAnimation = enableBlur = enableShadow = true;
|
enableAnimation = enableBlur = true;
|
||||||
|
if (OS.os() == OS.WINDOWS)
|
||||||
|
enableShadow = true;
|
||||||
theme = LAFTheme.BLUE.id;
|
theme = LAFTheme.BLUE.id;
|
||||||
decorated = OS.os() == OS.LINUX;
|
decorated = OS.os() == OS.LINUX;
|
||||||
auth = new HashMap<>();
|
auth = new HashMap<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user