gluonhq / scenebuilder

Scene Builder is a visual, drag 'n' drop, layout tool for designing JavaFX application user interfaces.
https://gluonhq.com/products/scene-builder/
Other
748 stars 220 forks source link

fix: Prevent css parsing if any style textfield is empty #780

Closed jperedadnr closed 3 weeks ago

jperedadnr commented 4 weeks ago

Issue

Fixes #774

The css expression propertyVal + ": " + valueVal + ";" only makes sense if both property and value are not empty. This fix prevents an unnecessary parsing call that derives in uncaught CSS warnings.

Progress