mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-04 15:40:10 +00:00
Fix indentation and includes order
This commit is contained in:
parent
777715a56f
commit
4f6b997101
@ -112,7 +112,7 @@ void ClearSlices::clear()
|
||||
gfx::Region(sc.mask.bounds()),
|
||||
m_tilesetMode,
|
||||
[sc, bgcolor](const doc::ImageRef& origTile,
|
||||
const gfx::Rect& tileBoundsInCanvas) -> doc::ImageRef {
|
||||
const gfx::Rect& tileBoundsInCanvas) -> doc::ImageRef {
|
||||
doc::ImageRef modified(doc::Image::createCopy(origTile.get()));
|
||||
doc::algorithm::fill_selection(
|
||||
modified.get(),
|
||||
@ -142,9 +142,9 @@ void ClearSlices::restore()
|
||||
continue;
|
||||
|
||||
copy_image(sc.cel()->image(),
|
||||
sc.copy.get(),
|
||||
sc.cropPos.x,
|
||||
sc.cropPos.y);
|
||||
sc.copy.get(),
|
||||
sc.cropPos.x,
|
||||
sc.cropPos.y);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,12 +9,13 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "app/ui/editor/moving_slice_state.h"
|
||||
|
||||
#include "app/cmd/set_slice_key.h"
|
||||
#include "app/cmd/clear_slices.h"
|
||||
#include "app/context_access.h"
|
||||
#include "app/tx.h"
|
||||
#include "app/ui/editor/editor.h"
|
||||
#include "app/ui/editor/moving_slice_state.h"
|
||||
#include "app/ui/status_bar.h"
|
||||
#include "app/ui_context.h"
|
||||
#include "app/util/expand_cel_canvas.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user