Fix indentation and includes order

This commit is contained in:
Martín Capello 2024-08-12 11:19:55 -03:00 committed by David Capello
parent 777715a56f
commit 4f6b997101
2 changed files with 6 additions and 5 deletions

View File

@ -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);
}
}

View File

@ -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"