code/_onclick/drag_drop.dm ![code/_onclick/drag_drop.dm0](git.png)
LENIENCY_DISTANCE | Distance in pixels that we consider "acceptable" from the initial click to the release Note: this does not account for the position of the object, just where it is on the screen |
---|---|
LENIENCY_TIME | Accepted time in seconds between the initial click and drag release Go higher then this and we just don't care anymore |
Define Details
LENIENCY_DISTANCE ![code/_onclick/drag_drop.dm 91](git.png)
Distance in pixels that we consider "acceptable" from the initial click to the release Note: this does not account for the position of the object, just where it is on the screen
LENIENCY_TIME ![code/_onclick/drag_drop.dm 94](git.png)
Accepted time in seconds between the initial click and drag release Go higher then this and we just don't care anymore