UI: Selectively disable focus frame
NoFocusFrameStyle was meant to disable focus frames around the scenes/sources list (on OSX); unfortunately it also removed focus frames from controls that should have focus frames like input boxes in the settings window
This commit is contained in:
parent
9ddbb1077a
commit
f1f1ca45df
4 changed files with 7 additions and 14 deletions
|
|
@ -119,6 +119,9 @@ OBSBasic::OBSBasic(QWidget *parent)
|
|||
qRegisterMetaType<OBSSceneItem>("OBSSceneItem");
|
||||
qRegisterMetaType<OBSSource> ("OBSSource");
|
||||
|
||||
ui->scenes->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
ui->sources->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
|
||||
connect(windowHandle(), &QWindow::screenChanged, [this]() {
|
||||
struct obs_video_info ovi;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue