mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[#trivial] fixes rendered image quality on networked image nodes which have their image directly set. (#826)
This commit is contained in:
@@ -120,13 +120,19 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, assign, readwrite) BOOL shouldRenderProgressImages;
|
||||
|
||||
/**
|
||||
* The image quality of the current image. This is a number between 0 and 1 and can be used to track
|
||||
* The image quality of the current image.
|
||||
*
|
||||
* If the URL is set, this is a number between 0 and 1 and can be used to track
|
||||
* progressive progress. Calculated by dividing number of bytes / expected number of total bytes.
|
||||
* This is zero until the first progressive render or the final display.
|
||||
*
|
||||
* If the URL is unset, this is 1 if defaultImage or image is set to non-nil.
|
||||
*
|
||||
*/
|
||||
@property (nonatomic, assign, readonly) CGFloat currentImageQuality;
|
||||
|
||||
/**
|
||||
* The image quality (value between 0 and 1) of the last image that completed displaying.
|
||||
* The currentImageQuality (value between 0 and 1) of the last image that completed displaying.
|
||||
*/
|
||||
@property (nonatomic, assign, readonly) CGFloat renderedImageQuality;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user