Skip to content

Commit

Permalink
CSSTUDIO-2749 Improve warning message.
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahamwolk committed Nov 22, 2024
1 parent 6029e4d commit 4cfb728
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static Image loadSVG(String imageFileName, double width, double height) {
svg_rendering_resolution_factor = Preferences.svg_rendering_resolution_factor;
}
else {
logger.log(Level.WARNING, "The option 'org.csstudio.display.builder.representation/svg_rendering_resolution_factor' is set to an invalid value. Setting svg_rendering_resolution_factor to 1.");
logger.log(Level.WARNING, "The option 'org.csstudio.display.builder.representation/svg_rendering_resolution_factor' is set to an invalid value. Setting svg_rendering_resolution_factor to 1.0");
svg_rendering_resolution_factor = 1.0;
}
return ImageCache.cache(cachedSVGFileName, () ->
Expand Down

0 comments on commit 4cfb728

Please sign in to comment.