summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-09 05:16:54 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-12-09 05:16:57 +0100
commitc56ab4c72d0875f159063cdb23d98ce3d13a459c (patch)
tree788c04fa65461f0d524dff4e8ce56c68ed057b0e /gui
parentFix png graphics load / display on AArch64 (diff)
downloadandroid_bootable_recovery-c56ab4c72d0875f159063cdb23d98ce3d13a459c.tar
android_bootable_recovery-c56ab4c72d0875f159063cdb23d98ce3d13a459c.tar.gz
android_bootable_recovery-c56ab4c72d0875f159063cdb23d98ce3d13a459c.tar.bz2
android_bootable_recovery-c56ab4c72d0875f159063cdb23d98ce3d13a459c.tar.lz
android_bootable_recovery-c56ab4c72d0875f159063cdb23d98ce3d13a459c.tar.xz
android_bootable_recovery-c56ab4c72d0875f159063cdb23d98ce3d13a459c.tar.zst
android_bootable_recovery-c56ab4c72d0875f159063cdb23d98ce3d13a459c.zip
Diffstat (limited to '')
-rw-r--r--gui/slidervalue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/slidervalue.cpp b/gui/slidervalue.cpp
index 700d7d5d7..3ae6b9855 100644
--- a/gui/slidervalue.cpp
+++ b/gui/slidervalue.cpp
@@ -181,6 +181,7 @@ GUISliderValue::GUISliderValue(xml_node<>* node) : GUIObject(node)
{
string parsevalue = gui_parse_text(attr->value());
mPadding = atoi(parsevalue.c_str());
+ mLinePadding = mPadding;
}
attr = child->first_attribute("sliderw");
@@ -208,7 +209,6 @@ GUISliderValue::GUISliderValue(xml_node<>* node) : GUIObject(node)
loadValue(true);
- mLinePadding = mPadding;
if (mShowRange)
{
int textW = std::max(measureText(mMaxStr), measureText(mMinStr));