Skip to content

[Draft] Layers

Mikhail Ilin edited this page May 7, 2024 · 2 revisions

Layer groups

Mouse effects

When you hover or click on the layer which is part of a group you can only see the whole group selection frame

To select the group

  • Click on any group element
  • Click and hold, then drag selection area to any layer of group

You can select the child element with a double click

  • If there is an element at cursor position, then editor switches to "Children mode"

Children mode

  • In this mode Lopaka "remembers" the current active group
  • Click on any layer of current group to select it (it becomes active, the group deactivates)
  • Hover effect works for individual children instead of the whole group
  • You can select and drag multiple children at a time
  • Layers out of the group works the same as before and can be hovered or clicked

To exit children mode you can

  • Click on empty space
  • Press ESC
  • Delete all children
  • Delete active group
  • Select other group or layer
  • Start a new drawing with any tool

If the group is active

  • press ESC to reset selection

If the child is active

  • pressing ESC makes the whole group active

Therefore to reset the selection if the active layer is a child of a group you have to hit ESC two times: first to switch to group, second to deselect the group

Layers List

  • Every new group has a title Group ${index} where index increments every time
  • Group of layers is displayed as a separate layer in a list
  • All children layers has left margin
  • When the group is selected, only one active mark is displayed in list
Screenshot 2024-05-06 at 19 07 19
  • You can drag or remove the whole group including all children
  • When you create a group the layers order changes
  • New group is placed to the position of the highest selected layer in list

Children mode

  • Active mark is displayed only on active layer
Screenshot 2024-05-06 at 19 11 13

Hotkeys

Group: Cmd/Ctrl + G

Ungroup: Cmd/Ctrl + Shift + G

Clone this wiki locally