epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
465 stars 164 forks source link

Image changes the layer to top after scaling actions #5148

Open ivanmaslow opened 1 month ago

ivanmaslow commented 1 month ago

Steps to Reproduce:

  1. Click on "Add Image"
  2. Select the image and add the first image to the canvas
  3. Click on "Add Image" again and add the second image to canvas to overlap the first image - the second image is on top layer image
  4. Select the first image and change the scale

Actual behavior: The first image is displayed on the top layer: image

Expected behavior

Desktop (please complete the following information):

Ketcher version:

Additional context

https://github.com/user-attachments/assets/1e53511b-8a7c-4c27-90bb-b5164d20091c

ivanmaslow commented 1 month ago

Discussed with DM: It would be nice to consider the possible ability to change z-order during implementation