|
|
@ -67,8 +67,15 @@ void imgui_init()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (cfg_inited)
|
|
|
|
if (cfg_inited)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
is_blacklisted(true);
|
|
|
|
|
|
|
|
parse_overlay_config(¶ms, getenv("MANGOHUD_CONFIG"));
|
|
|
|
parse_overlay_config(¶ms, getenv("MANGOHUD_CONFIG"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//check for blacklist item in the config file
|
|
|
|
|
|
|
|
for (auto& item : params.blacklist) {
|
|
|
|
|
|
|
|
add_blacklist(item);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
is_blacklisted(true);
|
|
|
|
notifier.params = ¶ms;
|
|
|
|
notifier.params = ¶ms;
|
|
|
|
start_notifier(notifier);
|
|
|
|
start_notifier(notifier);
|
|
|
|
window_size = ImVec2(params.width, params.height);
|
|
|
|
window_size = ImVec2(params.width, params.height);
|
|
|
|