2026-06-30_18_19 缓存
This commit is contained in:
@@ -136,6 +136,10 @@ void PicScene::onFocusItemChanged(QGraphicsItem *newFocusItem, QGraphicsItem *ol
|
||||
return;
|
||||
}
|
||||
|
||||
connect(currFocusItem, &QObject::destroyed, this, [this](){
|
||||
currFocusItem = nullptr;
|
||||
});
|
||||
|
||||
QPoint pos(currFocusItem->x(), currFocusItem->y());
|
||||
emit focusedItemPosChanged(pos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user