aboutsummaryrefslogtreecommitdiff
path: root/src/app/index.html
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-02-18 22:13:08 +0100
committer0neGal <mail@0negal.com>2022-02-18 22:14:56 +0100
commit78a83334f42294fdc0e36c2c44e1fbff7369fd7c (patch)
tree8d141f0d2d98d69a263b047122751ac7143724c8 /src/app/index.html
parentee7dab5b056e254bff828a9b9f6d77be2287b935 (diff)
downloadViper-78a83334f42294fdc0e36c2c44e1fbff7369fd7c.tar.gz
Viper-78a83334f42294fdc0e36c2c44e1fbff7369fd7c.zip
basic drag and drop support
Since apparently dragleave and dragenter don't quite work as intended we have to resort to this obscure method which should work just fine on the user's end.
Diffstat (limited to 'src/app/index.html')
-rw-r--r--src/app/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/index.html b/src/app/index.html
index 8222416..b5fc8cb 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -14,6 +14,12 @@
<div id="close" onclick="ipcRenderer.send('exit')"></div>
</div>
+ <div id="dragUI">
+ <div id="dragitems">
+ <div id="icon"></div>
+ <div id="text">%%gui.mods.dragdrop%%</div>
+ </div>
+ </div>
<div id="overlay" onclick="Browser.toggle(false)"></div>
<div id="browser">