Improve double click behaviour #603

Closed
TheSlowly wants to merge 0 commits from TheSlowly/Slipstream:inventory-double-click into main
Contributor

Previously, clicks in rapid succession did not verify the sources of their clicks. For instance, if you wish to drag 2 items into an object's content, select the first, then rapidly select the second, it would treat it as double click and e.g open the script/image/etc

This change tracks the item and requires both clicks to be on the same source

Build & tested on Windows

Previously, clicks in rapid succession did not verify the sources of their clicks. For instance, if you wish to drag 2 items into an object's content, select the first, then rapidly select the second, it would treat it as double click and e.g open the script/image/etc This change tracks the item and requires both clicks to be on the same source Build & tested on Windows
Owner

Merged into main, thanks! The only fix-up is a small refactor: the repeated "same item as the previous click?" check is now one helper, beginDoubleClick(). Behaviour is unchanged.

Merged into main, thanks! The only fix-up is a small refactor: the repeated "same item as the previous click?" check is now one helper, `beginDoubleClick()`. Behaviour is unchanged.
sky_line closed this pull request 2026-10-11 15:14:59 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream!603
No description provided.