This commit is contained in:
crschnick 2024-05-07 05:03:31 +00:00
parent 7309763d42
commit b98ac6b4ea

View file

@ -71,6 +71,7 @@ public class SvgView {
return null;
}
wv.getStyleClass().add("svg-comp");
wv.getEngine()
.setUserDataDirectory(
AppProperties.get().getDataDir().resolve("webview").toFile());
@ -126,7 +127,6 @@ public class SvgView {
public Optional<WebView> createWebview() {
var wv = createWebView();
wv.getStyleClass().add("svg-comp");
return Optional.ofNullable(wv);
}