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

196

16437 readers
1698 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
 
all 28 comments
sorted by: hot top controversial new old
[–] RagnarokOnline@programming.dev 95 points 5 months ago (1 children)

“Conservatives hate this one like of code.”

It initiates a drag queen show.

[–] Deestan@lemmy.world 22 points 5 months ago (1 children)
[–] joyjoy@lemm.ee 16 points 5 months ago
[–] kryptonianCodeMonkey@lemmy.world 69 points 5 months ago (1 children)

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

[–] lars@lemmy.sdf.org 5 points 5 months ago

StaaaaaaAAAAAAHP lmao

[–] germanatlas@lemmy.blahaj.zone 38 points 5 months ago (1 children)

It’s probably something queer coded

[–] B1naryB0t@lemmy.dbzer0.com 34 points 5 months ago (1 children)

You're telling me a queer coded this software?

[–] ZILtoid1991@lemmy.world 21 points 5 months ago (1 children)

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.

[–] alx@lemmy.blahaj.zone 4 points 5 months ago

Classic Ziltoid, being omniscient and very bisexual

[–] AVincentInSpace@pawb.social 29 points 5 months ago (1 children)

notifies the event handler that the mouse is being dragged

[–] blusterydayve26@midwest.social 22 points 5 months ago* (last edited 5 months ago)

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

[–] Linkyu@lemmy.blahaj.zone 21 points 5 months ago* (last edited 5 months ago) (1 children)

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

[–] SzethFriendOfNimi@lemmy.world 2 points 5 months 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.

[–] 01101000_01101001@mander.xyz 19 points 5 months ago

bloody handler innit

[–] Diplomjodler3@lemmy.world 17 points 5 months ago

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

[–] funkless_eck@sh.itjust.works 15 points 5 months ago

handles this drag event.

[–] 737@lemmy.blahaj.zone 13 points 5 months ago

some c# game engine collision stuff with drag

[–] Deestan@lemmy.world 8 points 5 months ago

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

[–] Sorse@discuss.tchncs.de 7 points 5 months ago

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

[–] zea_64@lemmy.blahaj.zone 3 points 5 months ago

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

[–] Aoife@lemmy.blahaj.zone 1 points 5 months ago (1 children)

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

[–] ZILtoid1991@lemmy.world 1 points 5 months ago

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