[bug] fix bug 79843

This commit is contained in:
Sergey Luzyanin
2026-02-06 14:38:40 +03:00
parent 80175e2eba
commit 92af72e3ea

View File

@ -21565,9 +21565,16 @@
*/
ApiStroke.prototype.GetWidth = function()
{
if (this.Ln && this.Ln.w !== null && this.Ln.w !== undefined)
if (this.Ln)
{
return this.Ln.w;
if (!this.Ln.isVisible())
{
return 0;
}
if (this.Ln.w !== null && this.Ln.w !== undefined)
{
return this.Ln.w;
}
}
return null;
};