mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Added rotate button for doc images to touchbar for media view overlay.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user