diff --git a/modules/base/ObjectPainter.mjs b/modules/base/ObjectPainter.mjs index 436d8db13..d8b39bf6b 100644 --- a/modules/base/ObjectPainter.mjs +++ b/modules/base/ObjectPainter.mjs @@ -427,7 +427,7 @@ class ObjectPainter extends BasePainter { return res; } - /** @summary Provides identifier on server for requested sublement */ + /** @summary Provides identifier on server for requested sub-element */ getSnapId(subelem) { if (!this.snapid) return ''; diff --git a/modules/gpad/TPadPainter.mjs b/modules/gpad/TPadPainter.mjs index 1394d8e15..7e3a8cb8c 100644 --- a/modules/gpad/TPadPainter.mjs +++ b/modules/gpad/TPadPainter.mjs @@ -338,7 +338,7 @@ class TPadPainter extends ObjectPainter { return false; } - /** @summary Returns frame coordiantes - also when frame is not drawn */ + /** @summary Returns frame coordinates - also when frame is not drawn */ getFrameRect() { const fp = this.getFramePainter(); if (fp) return fp.getFrameRect();