gui: do not allow selecting FRAMEs

This commit is contained in:
Sergiusz Bazanski 2018-07-27 02:24:00 +01:00
parent 3967899a2a
commit e1dfbc0241

View File

@ -231,7 +231,7 @@ void FPGAViewWidget::populateQuadTree(RendererData *data, const DecalXY &decal,
float y = decal.y;
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;
}