Commit 5beeb326 authored by Felix Paul Kühne's avatar Felix Paul Kühne

playback: fix layout if device runs in the future

parent bcc2f506
......@@ -135,6 +135,18 @@
_fwdButton.accessibilityLabel = NSLocalizedString(@"FWD_BUTTON", @"");
_fwdButton.isAccessibilityElement = YES;
if (SYSTEM_RUNS_IN_THE_FUTURE) {
CGRect rect = self.toolbar.frame;
rect.origin.y = rect.origin.y + 20.;
self.toolbar.frame = rect;
rect = self.positionSlider.frame;
rect.origin.y = rect.origin.y - 5.;
self.positionSlider.frame = rect;
rect = self.resetVideoFilterButton.frame;
rect.origin.y = rect.origin.y + 5.;
self.resetVideoFilterButton.frame = rect;
}
_scrubHelpLabel.text = NSLocalizedString(@"PLAYBACK_SCRUB_HELP", @"");
self.playbackSpeedView.hidden = YES;
......
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