mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various fixes
This commit is contained in:
parent
5be0000735
commit
2edb4daed1
3 changed files with 5 additions and 3 deletions
|
|
@ -10076,3 +10076,5 @@ Sorry for the inconvenience.";
|
|||
"Stats.Boosts.PremiumSubscribers" = "Premium Subscribers";
|
||||
"Stats.Boosts.ExistingBoosts" = "Existing Boosts";
|
||||
"Stats.Boosts.BoostsToLevelUp" = "Boosts to Level Up";
|
||||
|
||||
"MediaEditor.RemoveAudio" = "Remove Audio";
|
||||
|
|
|
|||
|
|
@ -3283,7 +3283,7 @@ public final class MediaEditorScreen: ViewController, UIDropInteractionDelegate
|
|||
}), false),
|
||||
.action(
|
||||
ContextMenuActionItem(
|
||||
text: "Remove Audio",
|
||||
text: self.presentationData.strings.MediaEditor_RemoveAudio,
|
||||
icon: { theme in return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Delete"), color: theme.contextMenu.primaryColor)},
|
||||
action: { [weak self] f in
|
||||
f.dismissWithResult(.default)
|
||||
|
|
|
|||
|
|
@ -622,10 +622,10 @@ final class VideoScrubberComponent: Component {
|
|||
if self.audioScrollView.contentSize != contentSize || audioChanged {
|
||||
self.audioScrollView.contentSize = contentSize
|
||||
if !component.audioOnly {
|
||||
let leftInset = scrubberSize.width
|
||||
let leftInset = scrubberSize.width - handleWidth * 2.5
|
||||
let rightInset: CGFloat
|
||||
if self.audioScrollView.contentSize.width > self.audioScrollView.frame.width {
|
||||
rightInset = scrubberSize.width
|
||||
rightInset = scrubberSize.width - handleWidth * 2.5
|
||||
} else {
|
||||
rightInset = self.audioScrollView.frame.width - self.audioScrollView.contentSize.width
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue