mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-18 04:04:42 -04:00
UI: Add OBSBasicPreview::Get helper func
This commit is contained in:
1 parent
25bc6db718
commit
7068e61fd9
2 files changed
+7
No files matched your search
@@ -1587,3 +1587,8 @@ void OBSBasicPreview::SetScalingAmount(float newScalingAmountVal) {
|
||||
scrollingOffset.y *= newScalingAmountVal / scalingAmount;
|
||||
scalingAmount = newScalingAmountVal;
|
||||
}
|
||||
|
||||
OBSBasicPreview *OBSBasicPreview::Get()
|
||||
{
|
||||
return OBSBasic::Get()->ui->preview;
|
||||
}
|
||||
Reference in new issue
Block a user