Remove print statement
This commit is contained in:
parent
d37f5ab26b
commit
adef7b38f5
1 changed files with 0 additions and 1 deletions
|
|
@ -426,7 +426,6 @@ void DrawingProgram::force_rebuild_cache() {
|
||||||
void DrawingProgram::drag_drop_update() {
|
void DrawingProgram::drag_drop_update() {
|
||||||
if(controls.cursorHoveringOverCanvas) {
|
if(controls.cursorHoveringOverCanvas) {
|
||||||
for(auto& droppedItem : world.main.input.droppedItems) {
|
for(auto& droppedItem : world.main.input.droppedItems) {
|
||||||
std::cout << "huh..." << std::endl;
|
|
||||||
if(droppedItem.dataPath.has_value() && std::filesystem::is_regular_file(droppedItem.dataPath.value())) {
|
if(droppedItem.dataPath.has_value() && std::filesystem::is_regular_file(droppedItem.dataPath.value())) {
|
||||||
#ifdef __EMSCRIPTEN_
|
#ifdef __EMSCRIPTEN_
|
||||||
add_file_to_canvas_by_path(droppedItem.dataPath.value(), world.main.input.mouse.pos, true);
|
add_file_to_canvas_by_path(droppedItem.dataPath.value(), world.main.input.mouse.pos, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue