mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-12 05:16:13 -04:00
This commit is contained in:
parent
fbeabfcad2
commit
091898551e
@ -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<>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user