]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
two-step: Don't try to set use_black_background based on the ConsoleLogTextColor
authornerdopolis <bluescreen_avenger@verizon.net>
Fri, 9 Aug 2024 11:55:08 +0000 (07:55 -0400)
committernerdopolis <bluescreen_avenger@verizon.net>
Fri, 9 Aug 2024 11:59:03 +0000 (07:59 -0400)
The correct value is 0x000000ff, for full opacity

src/plugins/splash/two-step/plugin.c

index 61f136c2478f239ce1a3faf8a7c785a823c860d2..8fa0d621e734ff3c61f2e26bc292f22fb50a8d5a 100644 (file)
@@ -1622,10 +1622,6 @@ draw_background (view_t             *view,
             using_fw_background && plugin->dialog_clears_firmware_background)
                 use_black_background = true;
 
-        if (plugin->should_show_console_messages && plugin->console_background_color == 0x00000000) {
-                use_black_background = true;
-        }
-
         if (use_black_background)
                 ply_pixel_buffer_fill_with_hex_color (pixel_buffer, &area, 0);
         else if (view->background_buffer != NULL)