Make lobby IDs longer
This commit is contained in:
parent
e1e28416d4
commit
0fb1f15cca
2 changed files with 4 additions and 4 deletions
|
|
@ -31,8 +31,8 @@ class NetLibrary {
|
||||||
|
|
||||||
static void destroy();
|
static void destroy();
|
||||||
|
|
||||||
static constexpr size_t LOCALID_LEN = 5;
|
static constexpr size_t LOCALID_LEN = 10;
|
||||||
static constexpr size_t GLOBALID_LEN = 20;
|
static constexpr size_t GLOBALID_LEN = 40;
|
||||||
|
|
||||||
struct DownloadProgress {
|
struct DownloadProgress {
|
||||||
uint64_t downloadedBytes;
|
uint64_t downloadedBytes;
|
||||||
|
|
|
||||||
|
|
@ -1327,7 +1327,7 @@ void Toolbar::options_menu() {
|
||||||
case CONNECT_MENU: {
|
case CONNECT_MENU: {
|
||||||
CLAY({
|
CLAY({
|
||||||
.layout = {
|
.layout = {
|
||||||
.sizing = {.width = CLAY_SIZING_FIT(500), .height = CLAY_SIZING_FIT(0) },
|
.sizing = {.width = CLAY_SIZING_FIT(650), .height = CLAY_SIZING_FIT(0) },
|
||||||
.padding = CLAY_PADDING_ALL(io->theme->padding1),
|
.padding = CLAY_PADDING_ALL(io->theme->padding1),
|
||||||
.childGap = io->theme->childGap1,
|
.childGap = io->theme->childGap1,
|
||||||
.childAlignment = { .x = CLAY_ALIGN_X_CENTER, .y = CLAY_ALIGN_Y_TOP},
|
.childAlignment = { .x = CLAY_ALIGN_X_CENTER, .y = CLAY_ALIGN_Y_TOP},
|
||||||
|
|
@ -1623,7 +1623,7 @@ void Toolbar::options_menu() {
|
||||||
case LOBBY_INFO_MENU: {
|
case LOBBY_INFO_MENU: {
|
||||||
CLAY({
|
CLAY({
|
||||||
.layout = {
|
.layout = {
|
||||||
.sizing = {.width = CLAY_SIZING_FIT(500), .height = CLAY_SIZING_FIT(0) },
|
.sizing = {.width = CLAY_SIZING_FIT(650), .height = CLAY_SIZING_FIT(0) },
|
||||||
.padding = CLAY_PADDING_ALL(io->theme->padding1),
|
.padding = CLAY_PADDING_ALL(io->theme->padding1),
|
||||||
.childGap = io->theme->childGap1,
|
.childGap = io->theme->childGap1,
|
||||||
.childAlignment = { .x = CLAY_ALIGN_X_CENTER, .y = CLAY_ALIGN_Y_TOP},
|
.childAlignment = { .x = CLAY_ALIGN_X_CENTER, .y = CLAY_ALIGN_Y_TOP},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue