Skip to content
Snippets Groups Projects
Commit f8df7f63 authored by Benni Mack's avatar Benni Mack Committed by Andreas Fernandez
Browse files

[TASK] Further refactorings of SVG tree drag+drop code

This change is the next iteration
of cleaning up SVG-drag/drop code.

Handling of the "positioning line" to drag nodes
between other nodes (page tree only)
has been encapsulated in drag-drop.ts

A lot of methods and variables are renamed and comments
are added in order to understand the code better.

A few methods regarding draggables (the shadowed content) have
been centralized so the code is easier to
read where CSS classes are modified.

Resolves: #99783
Releases: main
Change-Id: I9e28d0ca3d886afaa8b3e2cf274593d3e45c3fa5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77656


Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 309a0414
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment