Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select multiple layers by ctrl+clicking them #1157

Closed
Kiloku opened this issue Jun 13, 2016 · 11 comments
Closed

Select multiple layers by ctrl+clicking them #1157

Kiloku opened this issue Jun 13, 2016 · 11 comments
Assignees
Labels
feature Feature request, or something should be improved timeline
Milestone

Comments

@Kiloku
Copy link

Kiloku commented Jun 13, 2016

This would be a useful feature for animation where you need to move certain layers by the same distance on the new frame

@dacap
Copy link
Member

dacap commented Jun 13, 2016

Hi @Kiloku, actually you can do something like that using the Move tool when several layers are selected in the Timeline: http://www.aseprite.org/docs/move-tool/#move-multiple-cels

@Kiloku
Copy link
Author

Kiloku commented Jun 13, 2016

The problem is that I can't select multiple layers that are not adjacent on the list of layers. The only way to select multiple layers (that I know of) is dragging the selection, which forces me to handle all layers in between the ones I want.

This is what I mean (I want to select the "Braco" and "Face" layers, but not any of the others)

@dacap
Copy link
Member

dacap commented Jun 13, 2016

Yeah, that's true and that's is why I didn't close the issue 😅 I'm just working in something (#454) that might enable this Ctrl+click behavior to select multiple non-adjacent layers (as layer groups needs new special ways to handle the layer selection).

@dacap dacap added the feature Feature request, or something should be improved label Jun 13, 2016
@dacap dacap added this to the v1.2 milestone Jun 13, 2016
@dacap dacap self-assigned this Jun 13, 2016
@Kiloku
Copy link
Author

Kiloku commented Jun 13, 2016

Ah, got it. Thanks for the info and for the awesome software 😄

@dacap
Copy link
Member

dacap commented Aug 25, 2016

Implemented, this will be included in the next v1.2-beta2

@dacap dacap closed this as completed Aug 25, 2016
dacap added a commit that referenced this issue Sep 20, 2016
Changes:
* With this patch we finally removed the LayerIndex class and member
  functions to access layers by index (like Sprite::firstLayer/layerLayer
  /layer/indexToLayer/layerToIndex() etc.). As layer groups can be
  expanded/collapsed, it doesn't make sense to use layer index to
  access layers directly from sprite.
* Now we use a layer_t (int) to access a list of browsable layers each
  time we want to iterate visible layers in the timeline.
* Replaced CelsRange() and Sprite::uniqueCels() param with
  SelectedFrames to iterate non-adjacent cels.
* Updated clipboard operations (copy/paste) in timeline to support
  layer groups.
* Updated Timeline control to support selecting multiple layer/frame
  ranges with Ctrl+ or Alt+click (fix #1157)
* Added more test units for DocumentRange operations (mainly for
  non-adjacent ranges).
@artshade
Copy link

Implemented, this will be included in the next v1.2-beta2

It seems Ctrl+ LMB Click selects pixels of a clicked layer instead of selecting multiple layers. Is that correct?

@dacap
Copy link
Member

dacap commented Mar 31, 2022

It seems Ctrl+ LMB Click selects pixels of a clicked layer instead of selecting multiple layers. Is that correct?

That's right, you have to use Shift+click to pick another layer (and you can just press the LMB and drag the mouse to select a range of adjacent layers).

@artshade
Copy link

artshade commented Mar 31, 2022

It seems Ctrl+ LMB Click selects pixels of a clicked layer instead of selecting multiple layers. Is that correct?

That's right, you have to use Shift+click to pick another layer (and you can just press the LMB and drag the mouse to select a range of adjacent layers).

Thank you for the reply. Of course, this allows to select adjacent layers, but what if you have to select non-adjacent ones? For example "1 and 3"?

@dacap
Copy link
Member

dacap commented Mar 31, 2022

When you say "adjusted" you mean "adjacent" right? In the case that you want to select 1 and 3, you can click layer 1, and then press Shift+click in the 3 layer:

Screen Shot 2022-03-31 at 11 30 14

@artshade
Copy link

artshade commented Mar 31, 2022

...In the case that you want to select 1 and 3, you can click layer 1, and then press Shift+click in the 3 layer...

Oh! Thank you! I see. It seems the yellow box confused me, though I had to look at the layer line foreground and background colors.
Is it possible to deselect a particular selected layer while multiple are selected?

@Unknow0059
Copy link

Unknow0059 commented Oct 26, 2022

It seems the yellow box confused me

This also confused me with regards to how many layers I have selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request, or something should be improved timeline
Projects
None yet
Development

No branches or pull requests

4 participants