Skip to content

Fixed index handling in DocumentLayers commands - #2379

Open
Lehonti wants to merge 1 commit into
PintaProject:masterfrom
Lehonti:fix/documents_layers
Open

Lehonti wants to merge 1 commit into
PintaProject:masterfrom
Lehonti:fix/documents_layers

Conversation

@Lehonti

@Lehonti Lehonti commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

DeleteLayer was unconditionally decrementing CurrentUserLayerIndex even when deleting layer above, which shifted the selected layer down by one.

I am not sure if an issue exists for the bug caused by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant