Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ananasmoe
Copy link
Member

@ananasmoe ananasmoe commented Nov 4, 2024

drag and drop yippie!!!

Note

This doesn't work on wayland :(
See rust-windowing/winit#1881

image

@THEGOLDENPRO
Copy link
Member

I think I'll just wait for wayland support

umaru-sleeping

@ananasmoe
Copy link
Member Author

ananasmoe commented Nov 5, 2024

The issue opened 3 years ago, I don't think they'll fix it in the next few months. It works fine on every else except Wayland.

@THEGOLDENPRO
Copy link
Member

The pr is all good, now I just need to work on the dropping image attachment thingy I was talking about on Discord.

@ananasmoe
Copy link
Member Author

image

idk how to get the text closer to the rose without breaking centering stuff.

@THEGOLDENPRO
Copy link
Member

idk how to get the text closer to the rose without breaking centering stuff.

I can try and fix that don't worry about it

@THEGOLDENPRO
Copy link
Member

Screenshot_20241115_191146

@THEGOLDENPRO
Copy link
Member

I'm kinda confused, why is self.dropped_files even needed, can't we just use &i.raw.dropped_files? Is there a reason why we need to clone from &i.raw.dropped_files to self.dropped_files.

@ananasmoe
Copy link
Member Author

🔥

@ananasmoe
Copy link
Member Author

I'm kinda confused, why is self.dropped_files even needed, can't we just use &i.raw.dropped_files? Is there a reason why we need to clone from &i.raw.dropped_files to self.dropped_files.

not really, i just copied that from the example.

@THEGOLDENPRO
Copy link
Member

just saw the egui example, interesting...

@THEGOLDENPRO THEGOLDENPRO added the enhancement New feature or request label Nov 15, 2024
@THEGOLDENPRO THEGOLDENPRO merged commit 7e6f6ce into main Nov 15, 2024
@THEGOLDENPRO THEGOLDENPRO deleted the feat/drag-and-drop branch November 15, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants