mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[bug] fix bug 79843
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user