mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 02:53:50 +01:00
fix drag & drop
This commit is contained in:
parent
023c416b5d
commit
b5e0d809c7
@ -102,6 +102,10 @@ class App extends React.Component {
|
||||
window.removeEventListener('keydown', this.onKeyDown);
|
||||
}
|
||||
|
||||
dragOver = event => {
|
||||
event.preventDefault();
|
||||
};
|
||||
|
||||
onDrop = async event => {
|
||||
const { openSketch, addImage } = this.props;
|
||||
event.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user