提交 632596bb 编写于 作者: P Palakis

UI: fix Multiview labels readability

上级 ae22886f
......@@ -109,12 +109,12 @@ static OBSSource CreateLabel(const char *name, size_t h)
#else
obs_data_set_string(font, "face", "Monospace");
#endif
obs_data_set_int(font, "flags", 0);
obs_data_set_int(font, "flags", 1); // Bold text
obs_data_set_int(font, "size", int(h / 9.81));
obs_data_set_obj(settings, "font", font);
obs_data_set_string(settings, "text", text.c_str());
obs_data_set_bool(settings, "outline", true);
obs_data_set_bool(settings, "outline", false);
#ifdef _WIN32
const char *text_source_id = "text_gdiplus";
......@@ -841,7 +841,7 @@ void OBSProjector::UpdateMultiview()
name += " - ";
name += obs_source_get_name(src);
multiviewLabels[curIdx + 2] = CreateLabel(name.c_str(), h / 4);
multiviewLabels[curIdx + 2] = CreateLabel(name.c_str(), h / 3);
curIdx++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册