mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Added rotate button for doc images to touchbar for media view overlay.
This commit is contained in:
parent
8aafe6ba0e
commit
df155f6cb5
1 changed files with 1 additions and 0 deletions
|
@ -2131,6 +2131,7 @@ void OverlayWidget::displayDocument(
|
|||
const auto &path = location.name();
|
||||
if (QImageReader(path).canRead()) {
|
||||
_staticContent = PrepareStaticImage(path);
|
||||
_touchbarDisplay.fire(TouchBarItemType::Photo);
|
||||
}
|
||||
}
|
||||
location.accessDisable();
|
||||
|
|
Loading…
Add table
Reference in a new issue