mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 05:37:19 +00:00
Fix NewCustomBrushItem construction
This commit is contained in:
parent
3024bc7604
commit
fd8e8686d5
@ -277,7 +277,7 @@ void BrushPopup::regenerate(const gfx::Rect& box)
|
||||
m_customBrushes->addItem(new BrushOptionsItem(this, m_delegate, slot));
|
||||
}
|
||||
|
||||
m_customBrushes->addItem(new NewCustomBrushItem, 3, 1);
|
||||
m_customBrushes->addItem(new NewCustomBrushItem(m_delegate), 3, 1);
|
||||
m_customBrushes->setExpansive(true);
|
||||
m_box.addChild(m_customBrushes);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user