diff --git a/packages/core/src/part.mjs b/packages/core/src/part.mjs index 9bb4c7f3c41..838a609b2c8 100644 --- a/packages/core/src/part.mjs +++ b/packages/core/src/part.mjs @@ -82,17 +82,6 @@ Part.prototype.hide = function () { return this } -/** - * Reveal the part - alias for part.unhide() - * - * @return {Part} part - The Part instance - */ -Part.prototype.reveal = function () { - this.unhide() - - return this -} - /** * Set the hidden attribute * @@ -123,7 +112,6 @@ Part.prototype.shorthand = function () { macro: this.__macroClosure(), paperless, part: this, - reveal: this.reveal, sa, scale: this.context.settings?.scale, store: this.context.store, @@ -205,7 +193,7 @@ Part.prototype.shorthand = function () { } /** - * Unhide the part - alias for part.reveal() + * Unhide the part * * @return {Part} part - The Part instance */ diff --git a/packages/core/src/path.mjs b/packages/core/src/path.mjs index 33af403e205..3c65f5d02c3 100644 --- a/packages/core/src/path.mjs +++ b/packages/core/src/path.mjs @@ -531,17 +531,6 @@ Path.prototype.offset = function (distance) { return __pathOffset(this, distance, this.log) } -/** - * Reveal the path - alias for path.unhide() - * - * @return {Path} path - The Path instance - */ -Path.prototype.reveal = function () { - this.unhide() - - return this -} - /** * Returns a reversed version of this Path * @@ -860,7 +849,7 @@ Path.prototype.trim = function () { } /** - * Unhide the path - alias for path.reveal() + * Unhide the path * * @return {Path} path - The Path instance */