mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Fix for when running screenshot generation for multiple locales
This commit is contained in:
@@ -67,6 +67,12 @@ class OpeningSplashScreen(LogoScreen):
|
||||
from seedsigner.controller import Controller
|
||||
controller = Controller.get_instance()
|
||||
|
||||
# TODO: Fix for the screenshot generator. When generating screenshots for
|
||||
# multiple locales, there is a button still in the canvas from the previous
|
||||
# screenshot, even though the Renderer has been reconfigured and re-
|
||||
# instantiated. This is a hack to clear the screen for now.
|
||||
self.clear_screen()
|
||||
|
||||
show_partner_logos = Settings.get_instance().get_value(SettingsConstants.SETTING__PARTNER_LOGOS) == SettingsConstants.OPTION__ENABLED
|
||||
if self.force_partner_logos is not None:
|
||||
show_partner_logos = self.force_partner_logos
|
||||
|
||||
Reference in New Issue
Block a user