Fix White flash on Npp startup in darkmode#10639
Fix White flash on Npp startup in darkmode#10639Ashfaaq18 wants to merge 1 commit intonotepad-plus-plus:masterfrom
Conversation
|
Yep, it is working, good work. |
|
👍 |
|
@Ashfaaq18 |
|
@donho, true. The thing is, during the #3955 issue period, Npp did not have dark mode implemented if I'm right.
Because there was no dark mode (the user used dark theme at the time), They wanted the background color of the global setting or at least dark grey/black. But now we have dark mode, and almost everyone who is worried about this white flash is/was using a dark theme. But if required I can try changing the code to the current loaded theme background color. This way, the startup background color will be independent from dark mode and dependent on the theme's background color. Or If @donho and anyone else have any other ideas on what startup colors to apply, please do comment here. |
It's OK - I just want to make chang log on release page more accurate. |
|
Please post the code, thanks. |
fix #3955 and fix #10601
This is currently set to work only on darkmode.
Btw @xomx, feel free to test it and let me know if its fine.
before fix on startup:
after fix on startup: