src/main/java/chalmers/pimp/controller/components/LayerItemPane.java
private void handleDragOver(DragEvent event) {
    if (event.getGestureSource() != this && event.getDragboard().hasString()) {
      event.acceptTransferModes(TransferMode.COPY_OR_MOVE);
      standardPane.setStyle("-fx-border-color: -accent-color;");
    }
    event.consume();
  }
/**
   * Handles a drag event triggered by a drag over the layer item pane.
   *
   * @param event the associated drag event.
   */
Handles a drag event triggered by a drag over the layer item pane.
@param event the associated drag event.
Handles a drag event triggered by a drag over the layer item pane . @param event the associated drag event .
private void handleDragOver(DragEvent event) {
    if (event.getGestureSource() != this && event.getDragboard().hasString()) {
      event.acceptTransferModes(TransferMode.COPY_OR_MOVE);
      standardPane.setStyle("-fx-border-color: -accent-color;");
    }
    event.consume();
  }
private void handleDragOver ( DragEvent event ) { if ( event . getGestureSource ( ) != this && event . getDragboard ( ) . hasString ( ) ) { event . acceptTransferModes ( TransferMode . COPY_OR_MOVE ) ; standardPane . setStyle ( "-fx-border-color: -accent-color;" ) ; } event . consume ( ) ; }
Handles a drag event triggered by a drag over the layer item pane.
Handles a drag event triggered by a drag over the layer item pane .