Describe the bug
NotificationService seems to not be affected by setting text-color and background-color properties. Despite being changed before showing up the popup, it looks the same as the default popup with default colors.
To Reproduce
I managed to produce this bug by running this code:
public class TestApp extends GameApplication { public static void main(String[] args) throws IOException { launch(args); } @Override protected void initInput() { onKeyDown(KeyCode.SPACE, () -> { final var ns = FXGL.getNotificationService(); ns.setTextColor(Color.VIOLET); ns.setBackgroundColor(Color.BLACK); ns.pushNotification("Hello world!"); }); } @Override protected void initSettings(GameSettings settings) { } }
Expected behavior
I would like to be able to change the colors of the notification.
Runtime info(please complete the following information):
Windows 10 and Ubuntu 20.04
Attach log associated with the bug (can be found in "logs/")
N/A
Additional context / possible fixes
N/A
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4