Created
April 13, 2018 02:36
-
-
Save ahinchman1/23cff16af6b58a1e60c7c3627e8d1420 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setOnDragOver { event -> | |
if (event.dragboard.hasFiles()) event.acceptTransferModes(TransferMode.COPY) | |
event.consume() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment