提交 b3a672ba 编写于 作者: K Kentaro Wada

Clear shape highlight correctly

上级 a846f39c
......@@ -267,6 +267,7 @@ class Canvas(QtWidgets.QWidget):
break
else: # Nothing found, clear highlights, reset state.
self.unHighlight()
self.hVertex, self.hShape, self.hEdge = None, None, None
self.edgeSelected.emit(self.hEdge is not None, self.hShape)
self.vertexSelected.emit(self.hVertex is not None)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册