summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/checkbox.cpp1
-rw-r--r--src/gui/widgets/label.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_misc.cpp12
3 files changed, 14 insertions, 1 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index b01a4e679..c57af2eaa 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -161,6 +161,7 @@ CheckBox::~CheckBox()
if (theme != nullptr)
theme->unload(mSkin);
}
+ removeMouseListener(this);
}
void CheckBox::draw(Graphics *const graphics)
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index 9dfa7ce4d..d325e11bd 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -144,7 +144,7 @@ void Label::init()
mPadding = mSkin->getPadding();
else
mPadding = 0;
- setSelectable(false);
+ setSelectable(true);
}
void Label::draw(Graphics *const graphics)
diff --git a/src/gui/widgets/tabs/setup_misc.cpp b/src/gui/widgets/tabs/setup_misc.cpp
index 40276a59e..1a04cbd64 100644
--- a/src/gui/widgets/tabs/setup_misc.cpp
+++ b/src/gui/widgets/tabs/setup_misc.cpp
@@ -273,6 +273,18 @@ Setup_Misc::Setup_Misc(const Widget2 *const widget) :
MainConfig_true);
// TRANSLATORS: settings option
+ new SetupItemIntTextField(_("Increase your effective Walk Delay"),
+ // TRANSLATORS: settings description
+ _("Walk slower than your maximum allowed speed.\n"
+ "This can decrease desync when autonav is used over "
+ "long distances, and makes it easier for others to "
+ "autofollow you.\n"
+ "0 is off, 15~20 is recommended for evol2 servers."),
+ "playerSpeedAdjustment",
+ this, "playerSpeedAdjustmentEvent", 0, 100,
+ MainConfig_false);
+
+ // TRANSLATORS: settings option
new SetupItemTextField(_("Crazy move A program"), "",
"crazyMoveProgram", this, "crazyMoveProgramEvent",
MainConfig_true, UseBase64_false);