1
0
Fork 0

chore(core): Don't use reveal, use unhide

This commit is contained in:
Joost De Cock 2022-09-18 23:01:10 +02:00
parent 7730d4976f
commit 21ea22a18d
2 changed files with 2 additions and 25 deletions

View file

@ -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
*/

View file

@ -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
*/