Draft: fix wrong type for layer transparency

Also fixed a typo.
This commit is contained in:
Roy-043
2021-09-23 16:25:40 +02:00
committed by GitHub
parent bfe7a7a120
commit edd4da121e

View File

@@ -73,7 +73,7 @@ class ViewProviderLayer:
_tip = QT_TRANSLATE_NOOP("App::Property",
"If it is true, the objects contained "
"within this layer will adopt "
"the line color of the layer")
"the shape color of the layer")
vobj.addProperty("App::PropertyBool",
"OverrideShapeColorChildren",
"Layer",
@@ -150,7 +150,7 @@ class ViewProviderLayer:
_tip = QT_TRANSLATE_NOOP("App::Property",
"The transparency of the objects "
"contained within this layer")
vobj.addProperty("App::PropertyInteger",
vobj.addProperty("App::PropertyPercent",
"Transparency",
"Layer",
_tip)