add screen-marker-groups (#7734)

* Create screen-marker-groups

* Fix marker import and ensure ID/config uniqueness

Issue when deleting markers the new plugin also caused the data from the original (location & size) to be deleted.

- Generate new unique IDs for imported markers to prevent conflicts.
- Read original position/size from config during import.
- Explicitly save position/size config under the new unique ID to ensure independence from original markers.

* Fix: Prevent duplicate imports using original ID

- Add optional  field to ScreenMarker to store original ID.
- Check  during import to prevent re-importing markers.
- Store original marker ID in  field upon successful import.
- Update ScreenMarker constructor calls to match new signature.

* Update screen-marker-groups

fix: Ensure markers created via UI element clicks are saved

fixed an issue where screen markers weren't saved/created when created by hover -> clicking ui elements

* Refactor & build gradle line width

- Applied pull request comment
- Improved comments
- Moved code around
- Cleaned up code

* move readme images to root/readme
This commit is contained in:
Bloopser
2025-04-12 22:34:39 +02:00
committed by GitHub
parent 32aba4f946
commit 0b46cd6a48

View File

@@ -0,0 +1,2 @@
repository=https://github.com/Bloopser/screen-marker-groups.git
commit=1500060640bfe7976cfad96641f31e2969eee45e