mirror of
https://github.com/wassname/sloth.git
synced 2026-07-07 12:18:27 +08:00
Add Tooltips with names of facial landmarks
This commit is contained in:
@@ -741,6 +741,8 @@ class NPointFaceItem(GroupItem):
|
||||
if prefix + 'x' in self._model_item and \
|
||||
prefix + 'y' in self._model_item:
|
||||
child = callable_(self._model_item, prefix, self)
|
||||
if hasattr(child, 'setToolTip'):
|
||||
child.setToolTip(prefix)
|
||||
self._children.append(child)
|
||||
|
||||
def boundingRect(self):
|
||||
|
||||
Reference in New Issue
Block a user