Add 'sidebaropened: pinned' option to allow sidebar to be pre-pinned but support unpinning
This commit is contained in:
parent
974cd33853
commit
7e37817b86
3 changed files with 11 additions and 6 deletions
|
|
@ -20,7 +20,7 @@ public class ClientConfigurationComponent extends Component {
|
|||
s(t, "spammessage", c.getString("spammessage", "You may only chat once every %interval% seconds."));
|
||||
s(t, "webprefix", unescapeString(c.getString("webprefix", "[WEB] ")));
|
||||
s(t, "defaultzoom", c.getInteger("defaultzoom", 0));
|
||||
s(t, "sidebaropened", c.getBoolean("sidebaropened", false));
|
||||
s(t, "sidebaropened", c.getString("sidebaropened", "false"));
|
||||
|
||||
DynmapWorld defaultWorld = null;
|
||||
String defmap = null;
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@ updaterate: 2000
|
|||
|
||||
showplayerfacesinmenu: true
|
||||
|
||||
# Set sidebaropened: true to pin menu sidebar opened
|
||||
# Set sidebaropened: 'true' to pin menu sidebar opened permanently, 'pinned' to default the sidebar to pinned, but allow it to unpin
|
||||
#sidebaropened: true
|
||||
|
||||
joinmessage: "%playername% joined"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue