Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alt+drag copies instead of moving. #109

Open
Tracked by #79
Sebanisu opened this issue Jan 1, 2025 · 0 comments
Open
Tracked by #79

alt+drag copies instead of moving. #109

Sebanisu opened this issue Jan 1, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Sebanisu
Copy link
Owner

Sebanisu commented Jan 1, 2025

Currently left click drag moved what ever you selected.

Checking for modifier key of alt can trigger a copy mode instead.

So this would probably need to set a flag. We then would need to copy the clicked values. We'd need to probably add to both the front and back vectors. The front vector would be needed so you know what to draw on the screen. The back would be the for tracking the new location.

  • I'd probably append the copies to the end of the tile vectors to the end.
  • Someone might want the copy to be prepend to the start of the tile vectors.
  • Or maybe they'd rather them get inserted into the vector after the current indexes. so like if we copied tile 1 the new copy would be tile 2.
  • Or maybe they'd rather them get inserted into the vector before the current indexes. so like if we copied tile 1 the new copy would be tile 1 and the existing would become tile 2.

So maybe we need to have a drop down to ask this to to them what the desired method you want is.

@Sebanisu Sebanisu added the enhancement New feature or request label Jan 1, 2025
@Sebanisu Sebanisu self-assigned this Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant