mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-13 23:37:30 +08:00
Fix names and strings
This commit is contained in:
@@ -76,7 +76,7 @@ export default class PinElement extends IElement {
|
||||
getPinDisplayName() {
|
||||
if (this.entity.PinToolTip) {
|
||||
const matchResult = this.entity.PinToolTip.match(/\s*(.+?(?=\\n)|.+\S)\s*/) // Match up until the first \n
|
||||
return matchResult[1]
|
||||
return Utility.formatStringName(matchResult[1])
|
||||
}
|
||||
return Utility.formatStringName(this.entity.PinName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user