Signal-iOS/SignalUI/Views/ImageEditor
Igor Solomennikov b5ee24febe
Fix an issue causing incorrect line wraps in media editor's text overlays.
When calculating layout size of the photo overlay text max width is capped at
how wide UITextView was during editing, with the purpose of preserving wrapping
between editor (UITextView) and overlay (CATextLayer).
Previously though, UITextView was set to auto-shrink its width to content size,
which caused max width to not be not enough after changing the font to a bolder variant.
The fix is to pin UITextView's width to view margins so that all available width
is always used when measuring text overlay height.
2022-08-30 10:36:41 -07:00
..
ImageAttachmentPrepViewController.swift Animate transition from rounded image corners in Review to square in Draw tool. 2022-07-27 16:19:51 -07:00
ImageEditorBlurRegionsItem.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorCanvasView.swift Fix an issue causing incorrect line wraps in media editor's text overlays. 2022-08-30 10:36:41 -07:00
ImageEditorContents.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorCropView.swift Improved crop tool in media editor. 2022-07-26 14:11:03 -07:00
ImageEditorCropViewController.swift A couple of minor UI improvements in the media editor. 2022-08-15 17:18:22 -07:00
ImageEditorItem.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorModel.swift Update to allow re-use of code related to text overlays in photo editor. 2022-08-23 17:30:20 -07:00
ImageEditorPanGestureRecognizer.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorPinchGestureRecognizer.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorSliderView.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorStrokeItem.swift Increase max stroke width for drawing tools. 2022-07-13 22:46:14 -07:00
ImageEditorTextItem.swift Update to allow re-use of code related to text overlays in photo editor. 2022-08-23 17:30:20 -07:00
ImageEditorToolbar.swift A couple of minor UI improvements in the media editor. 2022-08-15 17:18:22 -07:00
ImageEditorTransform.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorView.swift Update to allow re-use of code related to text overlays in photo editor. 2022-08-23 17:30:20 -07:00
ImageEditorViewController.swift Update to allow re-use of code related to text overlays in photo editor. 2022-08-23 17:30:20 -07:00
ImageEditorViewController+Blur.swift Allow ToastController to present from the top as well 2022-08-17 17:59:19 -07:00
ImageEditorViewController+Draw.swift Update to allow re-use of code related to text overlays in photo editor. 2022-08-23 17:30:20 -07:00
ImageEditorViewController+StrokeWidthSlider.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
ImageEditorViewController+Text.swift Fix an issue causing incorrect line wraps in media editor's text overlays. 2022-08-30 10:36:41 -07:00
PermissiveGestureRecognizer.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
RotationControl.swift Fix "-0" could be displayed as current tilt (rotation) angle in Crop media view. (#4613) 2022-07-19 21:23:02 -07:00