常规更新
This commit is contained in:
@@ -13,7 +13,7 @@ namespace YSG {
|
||||
auto ret = new MutiSelectRect();
|
||||
ret->init(plot, layerName);
|
||||
MutiSelectRectPrivate* pd = ret->d();
|
||||
MutiSelectRectRenderState* sc = pd->renderStateCache();
|
||||
MutiSelectRectRenderState* sc = reinterpret_cast<MutiSelectRectRenderState*>(pd->state(State_Edit));
|
||||
sc->mHorizontalAxis = keyAxis;
|
||||
sc->mVerticalAxis = valueAxis;
|
||||
sc->mFont = font;
|
||||
@@ -67,4 +67,4 @@ namespace YSG {
|
||||
sc->mBorderPen = pen.color().isValid() ? pen : Qt::NoPen;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user