Enabled allow file drop function

This commit is contained in:
Kirurobo
2023-04-22 17:47:50 +09:00
parent fe58e670b7
commit 075d7b367f
2 changed files with 5 additions and 5 deletions

View File

@@ -929,11 +929,11 @@ public class LibUniWinC : NSObject {
// MARK: - File drop
@objc public static func setAllowDrop(enabled: Bool) -> Bool {
// if (overlayView == nil) {
// _setupOverlayView()
// }
//
// overlayView?.setEnabled(enabled: enabled)
if (overlayView == nil) {
_setupOverlayView()
}
overlayView?.setEnabled(enabled: enabled)
return true
}