chore(core): Don't use reveal, use unhide
This commit is contained in:
parent
7730d4976f
commit
21ea22a18d
2 changed files with 2 additions and 25 deletions
|
@ -82,17 +82,6 @@ Part.prototype.hide = function () {
|
||||||
return this
|
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
|
* Set the hidden attribute
|
||||||
*
|
*
|
||||||
|
@ -123,7 +112,6 @@ Part.prototype.shorthand = function () {
|
||||||
macro: this.__macroClosure(),
|
macro: this.__macroClosure(),
|
||||||
paperless,
|
paperless,
|
||||||
part: this,
|
part: this,
|
||||||
reveal: this.reveal,
|
|
||||||
sa,
|
sa,
|
||||||
scale: this.context.settings?.scale,
|
scale: this.context.settings?.scale,
|
||||||
store: this.context.store,
|
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
|
* @return {Part} part - The Part instance
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -531,17 +531,6 @@ Path.prototype.offset = function (distance) {
|
||||||
return __pathOffset(this, distance, this.log)
|
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
|
* 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
|
* @return {Path} path - The Path instance
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue