Fix #12934 Delete images inside a frame
- Select images by adding a special case to the z-order.
This commit is contained in:
parent
1813d3f2c9
commit
8dddfddc69
|
@ -687,6 +687,12 @@ bool NotationInteraction::elementIsLess(const EngravingItem* e1, const Engraving
|
|||
if (e1->isBox() && e2->isText()) {
|
||||
return true;
|
||||
}
|
||||
if (e1->isImage() && e2->isBox()) {
|
||||
return false;
|
||||
}
|
||||
if (e1->isBox() && e2->isImage()) {
|
||||
return true;
|
||||
}
|
||||
if (e1->z() == e2->z()) {
|
||||
// same stacking order, prefer non-hidden elements
|
||||
if (e1->type() == e2->type()) {
|
||||
|
|
Loading…
Reference in a new issue