update DB

This commit is contained in:
Dr.Lt.Data
2023-09-12 01:06:35 +09:00
parent 6a9a2f52c2
commit 128f6b15e1
6 changed files with 84 additions and 1 deletions

View File

@@ -1948,7 +1948,7 @@ app.registerExtension({
nodeType.prototype.onDrawForeground = function (ctx) {
const r = onDrawForeground?.apply?.(this, arguments);
if(!this.flags.collapsed && badge_mode != 'none') {
if(!this.flags.collapsed && badge_mode != 'none' && this.size[1] > LiteGraph.NODE_TITLE_HEIGHT) {
let text = "";
if(badge_mode == 'id_nick')
text = `#${this.id} `;