Skip to content

Commit

Permalink
Ultrawide: Fix fade-to-black bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jul 2, 2024
1 parent 63f03f0 commit d4777c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mods/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ void Graphics::fix_ui_element(REComponent* gui_element) {
return;
}

const auto go_name = utility::re_string::get_view(game_object->name);

if (go_name == L"BlackFade") {
return; // Don't do anything with the black fade, it should be taking over the whole screen
}

const auto gui_component = utility::re_component::find<REComponent*>(game_object->transform, "via.gui.GUI");

if (gui_component == nullptr) {
Expand Down

0 comments on commit d4777c5

Please sign in to comment.