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 · 5 comments

Comments

Projects
None yet
2 participants
@Kiloku

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

This comment has been minimized.

Show comment
Hide comment
@dacap

dacap Jun 13, 2016

Member

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

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

This comment has been minimized.

Show comment
Hide comment
@Kiloku

Kiloku 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)

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

This comment has been minimized.

Show comment
Hide comment
@dacap

dacap Jun 13, 2016

Member

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).

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 enhancement 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

This comment has been minimized.

Show comment
Hide comment
@Kiloku

Kiloku Jun 13, 2016

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

Kiloku commented Jun 13, 2016

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

@dacap

This comment has been minimized.

Show comment
Hide comment
@dacap

dacap Aug 25, 2016

Member

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

Member

dacap commented Aug 25, 2016

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

@dacap dacap closed this Aug 25, 2016

dacap added a commit that referenced this issue Sep 20, 2016

Add support to move/copy non-adjacent layers/frames
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment