Reduce screenshot selection area to area to be checked
Some checks failed
Push to master / Check Formatting 🔍 (push) Waiting to run
Push to master / Build Project 🧱 (push) Waiting to run
Push to master / Create Release 🛫 (push) Blocked by required conditions
debian-build / build (push) Has been cancelled

This commit is contained in:
WarmUpTill
2024-11-16 18:34:20 +01:00
committed by WarmUpTill
parent 4d2179448b
commit 821e768e76
3 changed files with 20 additions and 13 deletions

View File

@@ -1433,8 +1433,8 @@ void MacroConditionVideoEdit::ImageBrowseButtonClicked()
return;
}
auto screenshot =
ScreenshotDialog::AskForScreenshot(_entryData->_video);
auto screenshot = ScreenshotDialog::AskForScreenshot(
_entryData->_video, _entryData->_areaParameters);
if (!screenshot) {
return;
}