Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Drawing Layer: Order of Elements #1338

Open
danielsteinkogler opened this issue Apr 24, 2024 · 1 comment
Open

Drawing Layer: Order of Elements #1338

danielsteinkogler opened this issue Apr 24, 2024 · 1 comment
Assignees

Comments

@danielsteinkogler
Copy link
Contributor

Newly drawn shapes should always be on top; currently, rectangles, for example, are drawn below ellipses.

To achieve this the order of the shapes in the html has to be changes. Currently first all bezier lines are drawn, then all free lines aso.
This should be changed that it is iterated over all shapes and inside the loop we have to check the type of the shape and render the correct shape.

@danielsteinkogler danielsteinkogler self-assigned this Apr 24, 2024
@horenso
Copy link
Contributor

horenso commented Apr 24, 2024

Should we save the order to the database? What about recently edited drawings?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants