Skip to content
Snippets Groups Projects
  • rhenck's avatar
    af1b9ad7
    [editor] Add section element list · af1b9ad7
    rhenck authored
    This allows to select elements without clicking them on the canvas, as 
    elements may be obstructed or not visible for some reason.
    
    The selection logic is a bit complicated because usually only the 
    overlay components are usd for selection which are also the place to 
    apply any highlighting on. Here we have to find the component element 
    reference from the section. Therefore the double looping 
    'getElementComponent' method.
    
    Also when an elements is selected it briefly gets z-index 100 so it is 
    moved to the front and visible and manipulatable.
    af1b9ad7
    History
    [editor] Add section element list
    rhenck authored
    This allows to select elements without clicking them on the canvas, as 
    elements may be obstructed or not visible for some reason.
    
    The selection logic is a bit complicated because usually only the 
    overlay components are usd for selection which are also the place to 
    apply any highlighting on. Here we have to find the component element 
    reference from the section. Therefore the double looping 
    'getElementComponent' method.
    
    Also when an elements is selected it briefly gets z-index 100 so it is 
    moved to the front and visible and manipulatable.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
app.module.ts 5.21 KiB