Browse Source

UI: Use theme colors setting for Projectors too

Don't override the theme color settings for the Projector.
If required, the background color of the projector can be changed via

OBSProjector {qproperty-...}

record placed after "OBSQTDisplay {qproperty-...}" section in the theme
file (qss).
SuslikV 6 năm trước cách đây
mục cha
commit
8a22889e3d
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      UI/window-projector.cpp

+ 0 - 1
UI/window-projector.cpp

@@ -67,7 +67,6 @@ OBSProjector::OBSProjector(QWidget *widget, obs_source_t *source_, int monitor,
 		obs_display_add_draw_callback(GetDisplay(),
 				isMultiview ? OBSRenderMultiview : OBSRender,
 				this);
-		obs_display_set_background_color(GetDisplay(), 0x000000);
 	};
 
 	connect(this, &OBSQTDisplay::DisplayCreated, addDrawCallback);