mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Render preview lines above safe areas
Moves the preview lines around sources to be rendered above the preview safe area lines.
This commit is contained in:
parent
263781c6c6
commit
45e895206d
@ -4494,8 +4494,6 @@ void OBSBasic::RenderMain(void *data, uint32_t, uint32_t)
|
||||
100.0f);
|
||||
gs_reset_viewport();
|
||||
|
||||
window->ui->preview->DrawSceneEditing();
|
||||
|
||||
uint32_t targetCX = window->previewCX;
|
||||
uint32_t targetCY = window->previewCY;
|
||||
|
||||
@ -4509,6 +4507,8 @@ void OBSBasic::RenderMain(void *data, uint32_t, uint32_t)
|
||||
RenderSafeAreas(window->rightLine, targetCX, targetCY);
|
||||
}
|
||||
|
||||
window->ui->preview->DrawSceneEditing();
|
||||
|
||||
if (window->drawSpacingHelpers)
|
||||
window->ui->preview->DrawSpacingHelpers();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user