Skip to content

Commit d4777c5

Browse files
committed
Ultrawide: Fix fade-to-black bugs
1 parent 63f03f0 commit d4777c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/mods/Graphics.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,12 @@ void Graphics::fix_ui_element(REComponent* gui_element) {
313313
return;
314314
}
315315

316+
const auto go_name = utility::re_string::get_view(game_object->name);
317+
318+
if (go_name == L"BlackFade") {
319+
return; // Don't do anything with the black fade, it should be taking over the whole screen
320+
}
321+
316322
const auto gui_component = utility::re_component::find<REComponent*>(game_object->transform, "via.gui.GUI");
317323

318324
if (gui_component == nullptr) {

0 commit comments

Comments
 (0)