We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b2473 commit 6da6febCopy full SHA for 6da6feb
kit/src/main/java/com/oracle/javafx/scenebuilder/kit/preview/PreviewWindowController.java
@@ -271,7 +271,9 @@ public void run() {
271
272
Object sceneGraphRoot = clone.getDisplayNodeOrSceneGraphRoot();
273
themeStyleSheetsList = new ArrayList<>(EditorPlatform.getStylesheetsForTheme(editorController.getTheme()));
274
- themeStyleSheetsList.addAll(editorControllerTheme.getStylesheetURLs());
+ editorControllerTheme.getStylesheetURLs().stream()
275
+ .filter(s -> !EditorPlatform.isPlatformThemeStylesheetURL(s))
276
+ .forEach(themeStyleSheetsList::add);
277
278
if (sceneGraphRoot instanceof Parent) {
279
((Parent) sceneGraphRoot).setId(NID_PREVIEW_ROOT);
0 commit comments