スタイルに-fx-effectを追加すると、不透明度が機能しなくなることを他の誰かが発見しましたか?
これが簡単な例です
public class TestGUI extends Application {
@Override
public void start(final Stage primaryStage) {
    Line line = LineBuilder.create()
            .startX(150)
            .startY(0)
            .endX(150)
            .endY(250)
            .build();
    Button btn = ButtonBuilder.create()
            .text("Open countdown!")
            // this breaks the opacity!
            .style("-fx-effect: dropshadow(three-pass-box, grey, 5, 0.5, 2, 5);")
            .opacity(0.6)
            .build();
    btn.setOnAction(new EventHandler<ActionEvent>() {
        @Override
        public void handle(ActionEvent event) {
            System.out.println("Button clicked");
        }
    });
    StackPane root = new StackPane();
    root.getChildren().addAll(line, btn);
    Scene scene = new Scene(root, 300, 250);
    primaryStage.setTitle("Test Application");
    primaryStage.setScene(scene);
    primaryStage.show();
}
public static void main(String[] args) {
    launch(args);
}
}
句を取り出すstyleと、ボタンを通して線が見えます。
これはバグですか、それとも何かが足りませんか。
