mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-10 15:40:31 +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()),
|
gfx::Region(sc.mask.bounds()),
|
||||||
m_tilesetMode,
|
m_tilesetMode,
|
||||||
[sc, bgcolor](const doc::ImageRef& origTile,
|
[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::ImageRef modified(doc::Image::createCopy(origTile.get()));
|
||||||
doc::algorithm::fill_selection(
|
doc::algorithm::fill_selection(
|
||||||
modified.get(),
|
modified.get(),
|
||||||
@ -142,9 +142,9 @@ void ClearSlices::restore()
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
copy_image(sc.cel()->image(),
|
copy_image(sc.cel()->image(),
|
||||||
sc.copy.get(),
|
sc.copy.get(),
|
||||||
sc.cropPos.x,
|
sc.cropPos.x,
|
||||||
sc.cropPos.y);
|
sc.cropPos.y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,12 +9,13 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "app/ui/editor/moving_slice_state.h"
|
||||||
|
|
||||||
#include "app/cmd/set_slice_key.h"
|
#include "app/cmd/set_slice_key.h"
|
||||||
#include "app/cmd/clear_slices.h"
|
#include "app/cmd/clear_slices.h"
|
||||||
#include "app/context_access.h"
|
#include "app/context_access.h"
|
||||||
#include "app/tx.h"
|
#include "app/tx.h"
|
||||||
#include "app/ui/editor/editor.h"
|
#include "app/ui/editor/editor.h"
|
||||||
#include "app/ui/editor/moving_slice_state.h"
|
|
||||||
#include "app/ui/status_bar.h"
|
#include "app/ui/status_bar.h"
|
||||||
#include "app/ui_context.h"
|
#include "app/ui_context.h"
|
||||||
#include "app/util/expand_cel_canvas.h"
|
#include "app/util/expand_cel_canvas.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user