Commit bcc2f506 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Fix slider drawing if device runs in the future

parent e056eb33
......@@ -26,7 +26,8 @@
{
CGRect returnValue = [super trackRectForBounds:bounds];
returnValue.origin.x = 5.;
returnValue.origin.y = 7.;
if (!SYSTEM_RUNS_IN_THE_FUTURE)
returnValue.origin.y = 7.;
returnValue.size.width = bounds.size.width - 10.;
return returnValue;
}
......@@ -49,7 +50,8 @@
{
CGRect returnValue = [super trackRectForBounds:bounds];
returnValue.origin.x = 5.;
returnValue.origin.y = 7.;
if (!SYSTEM_RUNS_IN_THE_FUTURE)
returnValue.origin.y = 7.;
returnValue.size.width = bounds.size.width - 10.;
return returnValue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment