Docs: Difference between revisions
Appearance
No edit summary |
|||
Line 113: | Line 113: | ||
* event_mousemove | * event_mousemove | ||
| | | | ||
* If tileProtectAuto is active, the tile or cell gets protected on mouse move. | |||
* If linkAuto is active, the cell gets a link on mouse move. | |||
* handles region selection, coord-linking, protection, and dragging. | |||
| | | | ||
|<syntaxhighlight lang="javascript" line="1"> | |<syntaxhighlight lang="javascript" line="1" start="945"> | ||
/ | document.addEventListener("mousemove", mousemove_tileProtectAuto); | ||
</syntaxhighlight><syntaxhighlight lang="javascript" line="1" start="1075"> | |||
document.addEventListener("mousemove", mousemove_linkAuto); | |||
</syntaxhighlight><syntaxhighlight lang="javascript" line="1" start="3321"> | |||
document.addEventListener("mousemove", event_mousemove); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
|- | |- |