Fix up build.
This commit is contained in:
parent
f26ee2ebc4
commit
b5f21900eb
16 changed files with 16 additions and 30 deletions
|
@ -12,7 +12,6 @@ ImageEditorView::ImageEditorView()
|
|||
{
|
||||
auto label = Label::Create();
|
||||
label->setLabel("Image Editor");
|
||||
label->setBackground(ThemeToken::SystemToken::Primary);
|
||||
label->setMargin(1);
|
||||
|
||||
auto image_widget = std::make_unique<ImageViewWidget>();
|
||||
|
|
|
@ -20,7 +20,7 @@ void ImageViewWidget::doPaint(const PaintEvent* event)
|
|||
|
||||
if (!mGridNode)
|
||||
{
|
||||
mGridNode = std::make_unique<GridNode>(mLocation);
|
||||
mGridNode = std::make_unique<GridNode>(Transform(mLocation));
|
||||
mGridNode->setName(mName + "_GridNode");
|
||||
mGridNode->setNumX(mNumX);
|
||||
mGridNode->setNumY(mNumY);
|
||||
|
@ -35,7 +35,6 @@ void ImageViewWidget::doPaint(const PaintEvent* event)
|
|||
|
||||
if (mTransformDirty)
|
||||
{
|
||||
mGridNode->setLocation(mLocation);
|
||||
mGridNode->setWidth(mSize.mWidth);
|
||||
mGridNode->setHeight(mSize.mHeight);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue