Update DocApi::duplicateLayerAfter and DocApi::duplicateLayerBefore to
allow duplicating layers from documents that are not the same as the
source layer's document
If no 'basepath' is specified and the 'filename' argument has a path,
we must use that path as 'basepath' to keep backward compatibility
with the previous behavior of Dialog:file{}.
* The calculation was moved to onResize() event (when bounds are set)
instead of kPaintMessage
* All groups can be collapsed: in case the available space is so
small that we can only show one button to expand all tools
* Don't calculate the min height using the "lastToolBounds" absolute
position, we have to adjust that coordinate with the ToolBar origin
* Make the min height calculation a little more accurate
With this patch we've even fixed a couple of bugs:
1. In resize_image() where fixup_image_transparent_colors() was being
called in the new image instead of the source image.
2. When a bilinear resize was done to a tileset in SpriteSizeCommand,
each tile was being resized directly without calling
fixup_image_transparent_colors().
For an user setup we'd prefer to download Skia inside a .deps
directory (just to simplify the setup). For developers it's better if
we offer a common/shared/absolute directory so different local
Aseprite clones can share the same downloaded Skia version.
Co-authored-by: David Capello <david@igara.com>
This fix adds an option to scale timeline thumbnails to fill
the entire cell, or simply leave the timeline thumbnails at 1:1 scale
as before issue #4974.
As this script is part of laf submodule, we have to check the existence
of submodules first, and then run the script.
We've also moved the cl.exe check to build.sh directly.
This fix removes the 'non sense symmetry filter' to prevent
some buttons from being unintentionally held down.
Moved the drawing process for symmetry axes from
'Editor::drawSpriteUnclippedRect' to
'Editor::drawOneSpriteUnclippedRect' to allow semi-transparent axes.
This also produces axes on every tile in tile mode.
Pixel ratios other than 1:1 are now considered in the drawing logic of
diagonal axes.