mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
document new design done with radial progress, ? char added to monospace blocks edges, redraw history item through Notify::
This commit is contained in:
@@ -1123,6 +1123,10 @@ struct DocumentData {
|
||||
}
|
||||
void recountIsImage();
|
||||
|
||||
float64 progress() const {
|
||||
return loader ? loader->currentProgress() : ((status == FileDownloadFailed || (_location.name().isEmpty() && data.isEmpty())) ? 0 : 1);
|
||||
}
|
||||
|
||||
DocumentId id;
|
||||
DocumentType type;
|
||||
QSize dimensions;
|
||||
|
Reference in New Issue
Block a user