mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-16 10:20:50 +00:00
Merge branch 'rect-pack-padding' of https://github.com/kawa-yoiko/aseprite into master
This commit is contained in:
commit
686da0efd8
2
laf
2
laf
@ -1 +1 @@
|
||||
Subproject commit 128884b15d770b1a400c5d98707efe6bc8351793
|
||||
Subproject commit ffebad9a05b6d2f0b17353249e067c359cd97676
|
@ -356,9 +356,7 @@ class DocExporter::BestFitLayoutSamples :
|
||||
public DocExporter::LayoutSamples {
|
||||
public:
|
||||
void layoutSamples(Samples& samples, int borderPadding, int shapePadding, int& width, int& height) override {
|
||||
gfx::PackingRects pr;
|
||||
|
||||
// TODO Add support for shape paddings
|
||||
gfx::PackingRects pr(borderPadding, shapePadding);
|
||||
|
||||
for (auto& sample : samples) {
|
||||
if (sample.isDuplicated() ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user