196
initDragEvent(rule) (lemmy.world)
submitted 1 month ago by [email protected] to c/[email protected]
all 28 comments
sorted by: hot top controversial new old
[-] [email protected] 95 points 1 month ago

“Conservatives hate this one like of code.”

It initiates a drag queen show.

[-] [email protected] 69 points 1 month ago

It's the British version of the Drag Event Handler, init?

[-] [email protected] 5 points 1 month ago

StaaaaaaAAAAAAHP lmao

[-] [email protected] 38 points 1 month ago

It’s probably something queer coded

[-] [email protected] 33 points 1 month ago

You're telling me a queer coded this software?

[-] [email protected] 21 points 1 month ago

This is actually from my code, and this is the function in question being called, and yes, I'm bisexual. I never was into drag, but I respect that community.

[-] [email protected] 4 points 1 month ago

Classic Ziltoid, being omniscient and very bisexual

[-] [email protected] 29 points 1 month ago

notifies the event handler that the mouse is being dragged

[-] [email protected] 22 points 1 month ago* (last edited 1 month ago)

Close! It’s actually that bit on Boston Dynamics latest android that starts each morning with a nice slow drag on a cigarette.

[-] [email protected] 21 points 1 month ago* (last edited 1 month ago)

I've never used it, but I imagine this is related to the html drag & drop feature?

[-] [email protected] 2 points 1 month ago

Looks like it to me. Probably something that takes an object (element, component depending on library, etc) and starts the “drag and drop” process so the object “moves” with the mouse.

[-] [email protected] 19 points 1 month ago

bloody handler innit

[-] [email protected] 17 points 1 month ago

When you run this code, a bunch of drag queens will show up at your door and do a performance.

[-] funkless_eck 15 points 1 month ago

handles this drag event.

[-] [email protected] 13 points 1 month ago

some c# game engine collision stuff with drag

[-] [email protected] 8 points 1 month ago

If you check a DragEvent's currentTarget it will always point to some appendage of a "dom".

[-] [email protected] 7 points 1 month ago

Slow down your rocket when you’re in an atmosphere?

[-] [email protected] 3 points 1 month ago

Maybe I've looked at too much javascript, because that took me a while...

[-] [email protected] 1 points 1 month ago

is it godot code? I feel like it's godot c# code

[-] [email protected] 1 points 1 month ago

No, it's D code, from my own game engine.

this post was submitted on 26 May 2024
196 points (100.0% liked)

196

15766 readers
2874 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS