Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void configureFillableForGroup(Backend bck, Style style, DefaultCamera2D
public void configureFillableForElement( Style style, DefaultCamera2D camera, GraphicElement element ) {
if( style.getFillMode() == StyleConstants.FillMode.DYN_PLAIN && element != null ) {
if ( element.getAttribute( "ui.color" ) instanceof Number ) {
theFillPercent = (float)((Number)element.getAttribute( "ui.color" ));
theFillPercent = ((Number)element.getAttribute( "ui.color" )).floatValue();
theFillColor = null;
}
else if ( element.getAttribute( "ui.color" ) instanceof Color ) {
Expand All @@ -119,4 +119,4 @@ else if ( element.getAttribute( "ui.color" ) instanceof Color ) {
theFillPercent = 0;
}
}
}
}