gui: do not allow selecting FRAMEs
This commit is contained in:
parent
3967899a2a
commit
e1dfbc0241
@ -231,7 +231,7 @@ void FPGAViewWidget::populateQuadTree(RendererData *data, const DecalXY &decal,
|
|||||||
float y = decal.y;
|
float y = decal.y;
|
||||||
|
|
||||||
for (auto &el : ctx_->getDecalGraphics(decal.decal)) {
|
for (auto &el : ctx_->getDecalGraphics(decal.decal)) {
|
||||||
if (el.style == GraphicElement::STYLE_HIDDEN) {
|
if (el.style == GraphicElement::STYLE_HIDDEN || el.style == GraphicElement::STYLE_FRAME) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user