You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In JavaFX 23 CSS transition was added. At the same time CSS animation issue was closed since animated transitions in CSS were added (see comments). So, I think we can state than CSS animation won't be implemented in the next 99 years.
This is an example of blinking affect in TextFlow using transitions:
And I suggest to add blinking affect to RichTextFX. As I understand RichTextFX internally creates distinct nodes for text of different style classes (StyleClassedTextArea) and different styles (InlineCssTextArea). If so, we can add CSS declaration like -rtfx-blink-rate: <duration>ms; and If RichTextFX detects this declaration in style or style class then it will add TransitionEvent.END event handler to this node as in the example with TextFlow.
The text was updated successfully, but these errors were encountered:
In JavaFX 23 CSS transition was added. At the same time CSS animation issue was closed since animated transitions in CSS were added (see comments). So, I think we can state than CSS animation won't be implemented in the next 99 years.
This is an example of blinking affect in TextFlow using transitions:
And result:
And I suggest to add blinking affect to RichTextFX. As I understand RichTextFX internally creates distinct nodes for text of different style classes (StyleClassedTextArea) and different styles (InlineCssTextArea). If so, we can add CSS declaration like
-rtfx-blink-rate: <duration>ms;
and If RichTextFX detects this declaration in style or style class then it will addTransitionEvent.END
event handler to this node as in the example withTextFlow
.The text was updated successfully, but these errors were encountered: