.. | .. |
---|
940 | 940 | // objEditor.DropFile((java.io.File[]) object, true); |
---|
941 | 941 | // return; |
---|
942 | 942 | // } |
---|
943 | | - if (string.charAt(0) == '/') |
---|
| 943 | + |
---|
| 944 | + // File path for Mac and Windows |
---|
| 945 | + if (string.charAt(0) == '/' || string.charAt(1) == ':') |
---|
944 | 946 | { |
---|
945 | 947 | // file(s) |
---|
946 | 948 | String[] names = string.split("\n"); |
---|
.. | .. |
---|
967 | 969 | |
---|
968 | 970 | flashIt = false; |
---|
969 | 971 | CameraPane pane = (CameraPane) target; |
---|
970 | | - pane.clickStart(objEditor.location.x, objEditor.location.y, 0); |
---|
| 972 | + pane.clickStart(objEditor.location.x, objEditor.location.y, 0, 0); |
---|
971 | 973 | pane.clickEnd(objEditor.location.x, objEditor.location.y, 0, true); |
---|
972 | 974 | |
---|
973 | 975 | if (group.selection.size() == 1) |
---|