Fix space in drop path

This commit is contained in:
luboslenco
2019-03-05 23:41:32 +01:00
parent 3052ad5efa
commit 90e7607e9c
+1
View File
@@ -53,6 +53,7 @@ class App extends iron.Trait {
kha.System.notifyOnDropFiles(function(filePath:String) {
dropPath = StringTools.rtrim(filePath);
dropPath = StringTools.replace(dropPath, "%20", " "); // Linux can pass %20 on drop
var mouse = iron.system.Input.getMouse();
dropX = mouse.x;
dropY = mouse.y;