mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 04:20:23 +00:00
Fix compilation with new Purpose param in ExtraCel::create()
This commit is contained in:
parent
b6fc4ff2d6
commit
e1652e0585
@ -33,6 +33,7 @@ namespace app {
|
||||
Unknown,
|
||||
BrushPreview,
|
||||
TransformationPreview,
|
||||
TextPreview,
|
||||
};
|
||||
|
||||
ExtraCel();
|
||||
|
@ -225,6 +225,7 @@ void MovingSliceState::drawExtraCel(int layerIdx)
|
||||
}
|
||||
|
||||
m_extraCel->create(
|
||||
ExtraCel::Purpose::TransformationPreview,
|
||||
m_site.tilemapMode(),
|
||||
m_site.document()->sprite(),
|
||||
bounds,
|
||||
|
@ -99,6 +99,7 @@ private:
|
||||
void createExtraCel(const Site& site,
|
||||
const gfx::Rect& bounds) {
|
||||
m_extraCel->create(
|
||||
ExtraCel::Purpose::TextPreview,
|
||||
site.tilemapMode(),
|
||||
site.sprite(),
|
||||
bounds,
|
||||
|
Loading…
x
Reference in New Issue
Block a user